Business Rule not updating task when triggered from workflow

cfran5991
Kilo Expert

I have a business rule on a custom table that runs when the status is updated. It works successfully when I update the record manually. When I execute a workflow to update the record, I've logged and verified it does trigger the business rule, but the update on the task record does not work. The only difference that I can see is that when the workflow is executing, it is running as 'guest', and not the actual user that triggered the workflow.

Summary/Additional notes:

-Business rules runs after update

-Advanced script does not do an update on the current table, but does a glide record to update a record on the sc_task table

-It works when a user manually updates the field to trigger the business rule

-It hits the business rule, but does not update the task when the workflow triggers the business rule. The workflow shows 'guest' updated the record.

18 REPLIES 18

Can you post a screenshot of BR here.


find_real_file.png



here's what I've got



I've verified by logging the values are being set correct. I also tried logging a try catch around the update, and didn't get anything back indicating a failure. I have also added a timer/delay in my workflow after it sets the value in the workflow


remove the comments for line 17, cut the line 17 and paste it after line 19 and before update()


Thanks for your suggestions, still no luck though!


Can you try change the order of BR to 200 and see if that helps. GlideRecord scripting should work irrespective of the roles user has.