
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 10:26 AM
Good afternoon,
I am trying to populate blank "Assigned to" fields when an Incident is set to "Resolved" or when a task is set to "Closed Complete." I have created two business rules to complete this. The first business rule runs on the "Incident" table and looks at if the "Assigned to" field is blank and if the Incident state is "Resolved" and then matches the "Resolved By" field to be the "Assigned to" field. This business rule works perfectly.
However, when I run a rule on the "SC_Task" table, it does not function. It should look at the "Assigned to" field and populate it if it is blank when the state is "Closed Complete." I use the reference field "Closed by" to populate this. I have tested the following and none of
- "Assigned to" is blank AND "State" is "Closed Complete"
- "Assigned to" is blank AND "State" changes to "Closed Complete"
- Changing "When" to "After"
- "Assigned to" is empty AND "State" is "Closed Complete"
- "Assigned to" is empty AND "State" changes to "Closed Complete"
- "Assigned to" is NULL AND "State" is "Closed Complete"
- "Assigned to" is NULL AND "State" changes to "Closed Complete"
I also made an Action to "add message" to say "business rule ran" to check if the business rule was running, which it is. I am unsure how to get this field to populate. Attached below is what I have currently, which is not working.
Any advice is appreciated. Thank you very much in advance!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 10:56 AM
I think the issue is that when your business rule runs the Closed By field has not yet been set. Closed By is set by Business Rule: Closure Fields on the Task table and the order of that BR is set to 10,000.
Try setting the order of your business rule to something greater than 10,000
Hope this helps!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 10:44 AM
Hi Matthew,
why don't you use onChange client script on sc_task table or incident table to fulfill your requirement ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 10:51 AM
Hi Matthew,
Can you set the condition to Assigned to 'Is Empty'
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 10:56 AM
I think the issue is that when your business rule runs the Closed By field has not yet been set. Closed By is set by Business Rule: Closure Fields on the Task table and the order of that BR is set to 10,000.
Try setting the order of your business rule to something greater than 10,000
Hope this helps!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2017 10:59 AM
Hey this worked. Thank you very much!