Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
When to trigger a workflow
falavi
We are trying to implement a very simple 'Author_Submit' DCR so that Authors can initiate workflows when editing and closing a DCR. I am aware of the parameter (command value="tt_data"), However, this seems to work only when the user is closing a new DCR. If we try to re-open, edit and close an existing DCR, the workflow does not get triggered. Can anyone help please?
Find more posts tagged with
Comments
Jeremy
Hi,
As far as I am aware tt_data will only start a new workflow if the file is not currently attached to a workflow. You can check if the file is already in a workflow by choosing File Properties on the file.
Hope this helps.
Jeremy
Sample_Output.jpg
Sample_Output1.jpg
falavi
Thanks for your reply, Jeremey. That makes sense. I need to prove.
Is there any way to inform the user that the file is currently associated with another job and can not be submitted for approval. Thanks for any suggestions.
Jeremy
Hi,
One way to inform the user that the dcr is already in another workflow would be to have a callServer callout in the FormAPI using the onClose event handler.
The callServer call would call a perl script on the server where you would run the iwgetfilejobs command. If the file is already in a workflow then an alert can be given to the user.
Hope this sets you on the right track. I am sure there are other ways of doing this too.
Jeremy