Hi All, I have a macro (.yxmc extension) file which is not supported to run on gallery. The parent Workflow where I use this macro is currently .yxmc but it can be changed to .yxmd extension and run on gallery. How can I have the macro executed in parent workflow? Should I publish both (WF and macro files) to gallery and run the parent WF alone (server picks up the macro inside it and runs the actual macro (.yxmc) available on gallery?
If you have a YXMC inside a YXMD, when you go to save it to the Gallery, you have 2 choices. In the Assets screen, if you check the YXMC, then it will be packaged and sent to the Gallery along with the YXMD. Only downfall with that is if you have to change the YXMC, you have to download the YXMD, change the YXMC, and re-publish to the Gallery.
I prefer to leave the YXMC unchecked, which means when the YXMD runs in the Gallery, it will reach down and push the data through the YXMC on the Server and when you have to make changes you can just make them to the YXMC on the server without publishing.
Just make sure all your paths are UNC.
Let me know if that doesn't make sense.
Hey @ravitejapaideti ,
Transform your parent file into a workflow (yxmd) first. Then publishing your workflow + your macro will work.
Best,
Fernando Vizcaino
Hi @mbarone , yes that makes sense. But I was stuck at running the parent WF. @fmvizcaino Though I transformed it to yxmd and publish, it is still not supported for running (macro reason). I thought changing the extension could make it run.
Would you mind sharing a screenshot of the error?
If you are referring to the WF error snap, here it is. If it is a workflow snap, I'm afraid it won't fit the resolution as it is complex WF
Hi @ravitejapaideti,
You don't need to publish the macro to gallery to allow another workflow (yxmd) to us the macro when running on gallery, there are two options:
(1) Use relative pathing and store the macro in a location both you and the machine the server sits on can read (i.e a shared network drive)
(2) Package up the macro as an asset when saving the workflow to gallery
Kind regards,
Jonathan
If you have manually changed the workflow to yxmd, it won't work
You need to remove all the interface tools from the canvas and then transform it back to yxmd from the workflow configuration.
Best,
Fernando Vizcaino
Hi Jonathan, thanks for that info!
I am now able to publish my parent workflow (yxmd - Standard) and run. Is there any documentation on packaging up the macro file as an asset with my parent ? I am relatively new to all this stuff and learning things. Thanks in advance!
User | Count |
---|---|
19 | |
15 | |
13 | |
9 | |
8 |