Created one integration gateway attached with one workflow which is creating on record in one module.
Created on workflow to show the prompt when any record is created. Event Used : (afterCreate).
But I am not able to se the prompt when I am calling the API which is creating the record in the background. but when I created record from the UI I was able to see the prompt.
In order to show the prompt, the workflow needs to be triggered by a user.
Otherwise, the workflow won’t know who to show the prompt to.
the notification function also has a user parameter.
If you want to force it (or you can get info from the payload), you can first load a specific user and then feed it into the function.
We’d be glad to hear from you how that went, so someone else can learn from it as well.