Skip to main content
Solved

Process flow does not start with "start task"


Forum|alt.badge.img+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?

Best answer by Erwin Ekkel

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. 

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

3 replies

Forum|alt.badge.img+17
  • Moderator
  • 766 replies
  • January 31, 2022

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. 


Forum|alt.badge.img+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?


Forum|alt.badge.img+17
  • Moderator
  • 766 replies
  • Answer
  • February 1, 2022

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. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings