I’ve got a workflow in place that’s timing out… sometimes.
I’ve followed a number of suggestions on this side and broke down the workflow into custom events which are triggered from the main parent workflow.
The workflow times out sometimes, but not all of the time. When it times out, it fails navigating to the next page, but the data seemed to have been handled properly.
The whole workflow (would be great if I could paste the log here) is just under 5 minutes.
What surprises me when I read the log is that actions seem to be handled sequentially (whereas it’s my understanding that actions that do not depend on the result of the previous action should be handled simultaneously to speed up the app.
To give you some idea of what this workflow is doing:
- it’s initiating a game session, where it copies a number of card things and assigns those to the game session.
- It also deals 6 cards (changing ownership variable on these cards) to the current user.
- It also changes some variables here and there such as game and player status, and creates a log of game initiation events.
- It finally goes to the actual game screen.
The biggest part of the workflow (time and data wise) is number 1.
I’ve set this workflow as a custom event:
This event is triggered from the parent workflow:
About this workflow:
There are 3 types of cards. A number N of cards is drawn from the master deck (108 cards marked as template, from which the workflow copies the cards), where N depends on the number of players. In this example case, there are 3 players so 14 cards of each type, hence 42 cards in total.
I would expect that the three steps “Get Influence Cards” to “Get Building Cards” would be done simultaneously. However, the log shows they’re done sequentially. ![]()
(Side question: does the timestamp on the log refer to the start or end time of the action?)
Now, am I doing this right? Is this a case where I should move the workflow to the back end as an API workflow? How can I improve the speed and stability of this workflow? Is there anything else I can do?
Need some coaching please. Thanks.



