- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 04:19 AM
Hi All,
I am working on a workflow, as per the configuration of workflow if first catalog task state becomes closed complete then another task will be created.
So there are mainly 2 catalog tasks are going to be created, there is a requirement for me is when both the catalog task is closed completed then State of Request should be Closed complete and If one task state is closed complete and another one is closed incomplete then state Request state should be closed incomplete and Stage should be Closed cancelled.
Can anyone help me with this?
Thanks in Advance,
Atik.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 04:53 AM
Hi @Atik
Okh...Thanks...!!
So you can modify your workflow like below :
Make sure "wait for completion" is true
To add condition in Catalog task activity -
In related link of Catalog task activity -
Click on "condition"
& add two new condition's
Closed complete: activity.result == '3';
Closed incomplete : activity.result == '4'; & save it.
Same for other task also.
Hope this helps...!!!
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 04:28 AM
Hi @Atik
Can you share a screenshot of workflow if possible..??
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 04:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 04:53 AM
Hi @Atik
Okh...Thanks...!!
So you can modify your workflow like below :
Make sure "wait for completion" is true
To add condition in Catalog task activity -
In related link of Catalog task activity -
Click on "condition"
& add two new condition's
Closed complete: activity.result == '3';
Closed incomplete : activity.result == '4'; & save it.
Same for other task also.
Hope this helps...!!!
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates