function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Olaf de RuiterOlaf de Ruiter 

Process Builder not Triggered via Integration

Hello,

I've created a process builder flow which works fine when changing records manually in Salesforce. But it does not seems to be triggered when using integration. The integration is with a third party application via a Service Bus that does the changes via the REST API in Salesforce.

The steps/process is as follows: when picklist field is changed on a custom object (contract relation), a value is set (also a picklist) on the parent object (Account).

Does anybody know why this is not triggered and where I can find some logging to explain this behaviour?

Thanks and regards, Olaf.
Pankaj_GanwaniPankaj_Ganwani
Just check whether the profile assigned to the Integration User has update permission on custom object?
Olaf de RuiterOlaf de Ruiter
The integration user is allowed to update both the custom and the account object. Manual update with the integration user works fine. In the developer console I see the workflow being triggered. No errors there but also no update on the multi-picklist unfortunately.

I have the log file:
35.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
15:37:36.0 (102482)|EXECUTION_STARTED
15:37:36.0 (138246)|CODE_UNIT_STARTED|[EXTERNAL]|Workflow:01I24000001RQTK
15:37:36.0 (9969887)|WF_RULE_EVAL_BEGIN|Werkstroom
15:37:36.0 (10019047)|WF_CRITERIA_BEGIN|[Contract Relatie: 11489762-91876 a0424000009Lh8Y]|Rol_update_Add_Huurder_or_Medehuurder3012400000050ZT|01Q240000000pYK|ON_ALL_CHANGES|0
15:37:36.0 (10134597)|WF_FORMULA|Formula:ENCODED:[treatNullAsNull]true|Values:
15:37:36.0 (10140089)|WF_CRITERIA_END|true
15:37:36.0 (11316027)|WF_SPOOL_ACTION_BEGIN|Werkstroom
15:37:36.0 (11348755)|WF_ACTION| Stroomtrigger: 1;
15:37:36.0 (11351247)|WF_RULE_EVAL_END
15:37:36.0 (12193241)|WF_FLOW_ACTION_BEGIN|09L24000000PP96
15:37:36.14 (14070028)|FLOW_CREATE_INTERVIEW_BEGIN|00D24000000kEbF|300240000008ZTK|3012400000050ZT
15:37:36.14 (16215423)|FLOW_CREATE_INTERVIEW_END|57911e8cd83dbd9afd6543d1cc6a1544d9ca8a3-265b|Rol update - Add Huurder or Medehuurder
15:37:36.16 (16640639)|FLOW_START_INTERVIEWS_BEGIN|1
15:37:36.16 (17483200)|FLOW_START_INTERVIEW_BEGIN|57911e8cd83dbd9afd6543d1cc6a1544d9ca8a3-265b|Rol update - Add Huurder or Medehuurder
15:37:36.16 (47176279)|FLOW_START_INTERVIEW_END|57911e8cd83dbd9afd6543d1cc6a1544d9ca8a3-265b|Rol update - Add Huurder or Medehuurder
15:37:36.16 (47197150)|FLOW_START_INTERVIEWS_END|1
15:37:36.0 (49085522)|WF_FLOW_ACTION_END|09L24000000PP96
15:37:36.0 (49203294)|WF_ACTIONS_END| Stroomtrigger: 1;
15:37:36.0 (49212442)|CODE_UNIT_FINISHED|Workflow:01I24000001RQTK
15:37:36.0 (50929820)|EXECUTION_FINISHED
 
AnandAgrawalAnandAgrawal
Hey @Olaf, Did you find the root cause of this issue? If so, could you please connect with me on itsanandagrawal@gmail.com? TIA