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

kristian dimitr
Tera Guru

Can you check and set the execution order of the BR to be greater than 1000 in order to be executed after the Workflow Engine.


The business rule is set greater than 1000


DilipKumar DJ
Kilo Guru

Hi Caleb,



In your trigger script which invokes Business rule try adding gr.setWorkflow(true) where gr refers to the object of the table when you are updating.


I just attempted this and it did not correct the issue