- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 03:42 AM
I have created a BR so that the state of the catalog task changes to " Work in Progress" when the assigned to field is not empty, but it is not working. In the attachments you can see the logic I applied in conditions and script.
Can you please help me figure this out?
I have tried with script and without, but with no success.
Note: I have also tried to change this line 7 in the script to:
current.setValue('state', 2);
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 04:26 AM
@Community Alums
It should work in both before/after (insert/update) BRs as I have tried both the ways and it worked for me,
There might be some other logic comes into the picture at your end as I have tried in my PDI. Also you can try below conditions:
As per your conditions let say some ticket is in pending-onHold state and someone has updated the assigned to in that case it will come back to in progress again but the above mentioned condition only works when assigned comes from empty to some person
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 03:53 AM
@Community Alums
Can you please comment your code from advanced section and just go ahead with this only
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 04:00 AM
Hello @Prince Arora ,
I have already tried that before putting the script into action and did not work.
Also tried after the script to remove the actions and also with the actions applied and did not work as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 04:03 AM
@Community Alums
I have tried in my PDI and it worked for me
I have just configured first two screenshots
Please test it by creating a new incidents where assigned_to field is empty first
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 04:57 AM
I tried it and if "When to Run" was set to "after" and not "before" it did not work.