Workflow Related

Arun Priya
Tera Contributor

Hi, 
I have a requirement in which I need  to check value of a variable in the sc_task in the workflow where the workflow table is Req_item. By checking this value it needs to trigger a notification to the end users.

Please let me know anyone has the idea.

 

11 REPLIES 11

Screenshot of variables please.

ArunPriya_0-1745509498829.pngArunPriya_1-1745509990206.pngArunPriya_2-1745510012167.png

Here updated the new wait for condition and variables

The variable name is status not release_status. so your code should be current.variables.status instead of current.variables.release_status.

Bindu16
Tera Contributor

Hi, 

If it's in flow then you can show the variables on task like below link then you can access this value in next if condition.

Solved: In Flow Designer, how to get the variables section... - ServiceNow Community

 

If its in workflow then you can use  - if(current.variables.'variable Name'='') -then 

If the variable in variable set then use current.variable_pool.variable_name ='' - Then. 

ArunPriya_1-1745508562299.png

It is a variable in catalog item. If the condition is satisfied it needs to trigger notification. When it is changed in RITM level it is working. But in sctask it doesn't work