Trigger two workflow on same table at same time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2016 02:15 AM
I have a main workflow that is running for a catalog item.
i have created another separate workflow "A" on req. item table which is getting triggered when that state changes to "Awaiting user info".
these two workflows are not linked and i can't create an activity in main workflow to evoke this "A" workflow.
But when this A workflow gets triggered, main workflow gets cancelled.
Is this because two workflows which are not called by each other and are on a same table can't run parallel ?
I want the main workflow to run again where it got stopped as soon as the state changes to "Active".
I have a button on the form which is visible only when the state is ""Awaiting user info"." and sets the state to active.
How to achieve this scenario.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2016 12:51 AM
Mayur,
while clicking on this activity, i am getting below window.
where to add condition and table info....
my requirement is when that state changes to "Awaiting user info", new workflow will get trigger which has some activities and till the time user updates on item, main workflow should be paused. As soon as user update, state will change back to active and main workflow will resume where it got paused.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2016 02:42 AM
Hi Avani,
That field and form is for adding your Second Workflow. When you create your main Workflow have your another workflow ready with your condition.
Then go for that workflow 'Core Activity', Name it and in the lookup named 'Workflow Instance' select your another Workflow.
The Lookup will show you the list of sys_IDs, configure list Layout, add workflow. Select your workflow and submit the form.
By condition I meant the activity prior to the 'workflow' core activity.
There is small sample I created for you, it Looks like this:
Please let me know if you face any issue.
Regards,
Mayur