I've a workflow that loops based on conditions
The workflow goes as: There's a sync function which syncs data between 2 tables and I counter over a row of table 1, so exclusive gateway checks if that row data exists in the table 2, and it only pass it to sync function if the data does not exist in table 2, and at the end when all rows are synced (Count == length of the table) the workflow ends
Over here, the counter function runs once successfully and then abruptly stops & throws this error
The workflow was terminated by the system due to a function error.
I've tried changing the flow and everything possible, it's breaking around counter function after looping over it once
The counter function is simple, it just takes the input and adds 1 to it and attaches it to an output which I've named variable count
I tried removing that as well to see if overwriting variables in workflow would be the cause, but yet it did not work
I've tried on a simple workflow as well
Could anyone give any ideas on what could be the issue? Thanks
------------------------------
Kavi Harjani
------------------------------