‎06-02-2020 01:00 PM
We have a workflow and we observe many users complain they have sent for validation, But users forget to dispatch frequently. Can we write a macro on workflow transition to dispatch the transaction of the user. Can we have a example how we dispatch .
Solved! Go to Solution.
‎26-01-2021 06:30 AM
Hi,
We need this same thing also. Means we need each workflow transition to be dispatched after each workflow action performed by user. We have applied above suggested solution but it did not worked for us.
Any suggestions.?
Thanks.
‎19-02-2020 07:06 AM
Thank you , The solution worked.
‎19-02-2020 12:16 AM
Here is an example of a VB Script Macro on a transition that do a dispatch.
Function ExecuteAction(objWorkflowContextAction, strParameter)
Dim mgRoot
Set mgRoot = objWorkflowContextAction.GetRoot
Dim response
response = mgRoot.CallFunction("~lcE6jbH9G5cK[PublishStayInSessionWizard Command Launcher]", "{""instruction"":""PUBLISHINSESSION""}")
Set mgRoot = Nothing
ExecuteAction= ""
End Function
‎18-02-2020 03:27 PM
then you need to create a macro that do a save after the transition is being executed.
‎18-02-2020 03:26 PM
‎10-02-2020 09:30 AM
Check my previous post with the screenshot and compare with your current workflow configuration.
Check also the online documentation on the workflow
‎06-02-2020 07:39 PM
‎06-02-2020 03:50 PM
Option 1 : ue the standard option that don't need the dispatch to be dispatched. It should do exactly what you want.
Option 2 : If it does not you can envision a macro that dispatch. And yes there is an API to dispatch. I do not recommend it.
‎06-02-2020 02:54 PM
‎06-02-2020 02:49 PM - edited ‎06-02-2020 02:50 PM
In standard there is an option on the "Transition". (see screenshot)
Execution Kind = Immediate or In Public
You should double check the configuration of your workflow to see how it is configured.
If it doesn't do what you want just add an "actions" on the transition were you create a macro that do what you want.