community
cancel
Showing results for 
Search instead for 
Did you mean: 

alteryx server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Error: Alteryx Server, scheduling workflow with macro

Meteoroid

Hi,

 

I've created a standard workflow which use a macro as part of the stream. When trying to schedule this on Alteryx Server the job fails; it cannot find the macro. The job runs fine locally.

 

I've tried to research a bit, changed the macro path to absolute path prior to scheduling. This did not help. I've also tried moving the files around a bit, such as to another local directory.

 

Does anyone have any ideas? Do I need to upload and reference the macro file on the server itself?

 

ryx.JPGdependencies.JPG

 

BR,

Richard

 

Alteryx
Alteryx

Hi Richard,

 

Any macros being used on the Server Scheduler will need to be placed on the Server itself in order to run correctly. You could also package the workflow as a zip (yxzp) file and schedule the zipped package instead of the workflow itself. This may be easier to do instead of maintaining a number of macros on the server.

 

Hope this helps.

 

 

Highlighted
Quasar
Quasar

This is one of those things that Alteryx should just do for the user.  If I'm working in Tableau and go to publish a dashboard it will automatically pickup any local files I may have used.

 

The 'create a package then schedule that' is a good tip, but is really a step the user shouldn't have the think about.  At the time os scheduling, server should check for dependencies then let the user know it will be taking local files x, y, z as they are not available on the server.

Meteoroid

Thank you for responding. I've yet to try it, but it sounds like a solution!

 

BR,

Richard

Alteryx
Alteryx

Hi @arfuzzum and @dataMack

 

There is an additional option to package assets with the workflow when saving to the gallery. This was added when scheduling was added to the Gallery component of the server. When you save a workflow to the Gallery. File-Save As->Your Company's Gallery - you will be presented with workflow options and the ability to Manage Workflow Assets. This should make scheduling with custom macros much easier! Hope this helps.

 

assets.jpgassets 2.jpg