- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 03:37 AM
Hi All,
I re-created an existing workflow but i do not know to set it in Demand Management to check if it will work or not.
This is my workflow:
is there any like "process engine" in Demand Settings just like in Catalog Items?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 03:46 AM
Hi @Al-jhon
while creating workflow you would have specified on which table it has to run and also the condition when it should run. So it works according to that. no need of process engine.
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 03:46 AM
Hi @Al-jhon
while creating workflow you would have specified on which table it has to run and also the condition when it should run. So it works according to that. no need of process engine.
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 04:32 AM
Hello @priyasunku , thank youu this is what i think earlier but not sure so thank you for confirmation.
Aside from that, i created a wait condition task where i need other specific demand task to be closed first before the final task to be appear.
Can you check my script below, its not working:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 04:40 AM
Hello @priyasunku , nevermind, i figure it out 😄
Thanks for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 04:50 AM
@Al-jhon I think you have to check if there is any active demand task as well.
var gr = new GlideRecord('dmn_demand_task');
gr.addQuery('parent', current.sys_id);
gr.query()
while(gr.next())
{
if(gr.active=='false')
answer=true;
else
answer=false;
}
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful