v. 3.7.1 - Calling WorkFlow Actions via REST API

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

v. 3.7.1 - Calling WorkFlow Actions via REST API

Henry Versemann

So maybe I should backup and ask how best to setup a workflow action, which is supposed to eventually be called through a REST API request?

 

Nowhere in the documentation have I found where it shows how to send the identifier of an actual piece of content to a workflow action or sub-action.

 

You can pass comments to a named action and assign the named action to another user, but that seems to be all one can in the original URL, at least for parameters parameters to an action directly.

 

So then when I setup a workflow action do I need to add code to the “Custom Code” field of the workflow action, which will execute and extract the identifier of my content out of another URL parameter?

 

If so then once I have extracted it in my custom code block, then how would I then pass it to the “Delete content” sub-action, which is my ultimate goal?

 

I’m more than a little confused by WorkFlows at this point and would appreciate help in answering some of these questions.

Thanks.

 

Henry

 

 

 

 

 

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CY4PR0501MB3777033562AB0A95AA5E1920AD1E0%40CY4PR0501MB3777.namprd05.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.