The CreatorCon Call for Content is officially open! Get started here.

How to set a workflow in Demand management

Al-jhon
Kilo Sage

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:

Aljhon_0-1678275400838.png



is there any like "process engine" in Demand Settings just like in Catalog Items?

1 ACCEPTED SOLUTION

priyasunku
Kilo Sage

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.

 

priyasunku_0-1678275964536.png

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful

 

View solution in original post

6 REPLIES 6

priyasunku
Kilo Sage

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.

 

priyasunku_0-1678275964536.png

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful

 

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:

Aljhon_0-1678278732238.png

 

Hello @priyasunku , nevermind, i figure it out 😄

Thanks for the help.

@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