Solved

Process flow does not start with "start task"

  • 31 January 2022
  • 3 replies
  • 74 views

Badge +1

After a record has been changed (by a user or directly on the database), the changed data must be forwarded to an API. In the update trigger of the relevant table, a task is called that collects the data and converts it to JSON. In a process flow with the above task of process action type "Start task" as starting point, which then passes the data to an "HTTP connector" that calls the API. When a record is changed, the task is activated by the trigger, but the process flow is never started. How do I get the process flow started, what am I overlooking?

icon

Best answer by Erwin Ekkel 1 February 2022, 10:08

View original

This topic has been closed for comments

3 replies

Userlevel 6
Badge +16

You can’t activate a process flow from a trigger. Either create a system flow that polls if there is anything to send. Or make a process flow with a task and have the task handle the changes to the tables with the next step being the HTTP connector. 

Badge +1

Hi Edwin,

Thank you for your response. Can the proposed system flow have an "Execute sytem task" called from the trigger as its starting point? And will this be picked up and handled by Indicium?

Userlevel 6
Badge +16

No, a trigger can never be a starting point for a system or process flow. Your best bet would be to have the trigger fill a staging table and create a system flow that polls ever 5  minutes (or whichever interval you like) if there is data in the table.