- 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 04:06 AM
I have changed the "When to Run" to "before" update or insert instead of after and that seemed to work. But I still don't follow the logic behind it 😅
- 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
12-08-2023 10:06 AM
@Community Alums
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.