Workflow Related
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 07:22 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 07:56 AM
Variables display on the sc_task table but are related to req_item. So if you change a variable on the sc_task it will update the variable on the req_item. So you should be able to detect and trigger the notification base on the variable in the req_item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 08:04 AM
Hi Brian,
I have given the below code in wait for condition. Once the below condition is satisfied it needs to trigger notification.
if (current.variables.status == 'In progress') {
answer = true;
} else {
answer = false;
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 08:11 AM
Is there really a variable for status? Why are you not using state? Can you share some screenshot of your variables and your wait for condition?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 08:32 AM
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