Hey all,
I hope someone can lead me to a solution for my problem. Any help is highly appreciated! Thank you in advance.
What I want to achieve:
Create a (recursive) backend workflow which creates a certain number of things and returns the list of things created.
What I have:
In the front end the user creates a marketing campaign. For this marketing campaign the user wants to create X pinterestPins. The user types in a number for X to specify how much pinterestPins he wants to create.
With this informations I want to create X pinterestPins within a backend workflow which at the end returns the list of created pinterestPins.
I exposed the backend workflow as a public api workfow, so that I can use the result.
What the problem is:
Result with the current setup:
Expected Result: List of pinterestPins
Result with a slightly different setup: I deleted the condition of the last step of the backend workflow
Expected Result: List of pinterestPins, but there is only one.
The result of the backend workflow (create X pinterestPins) is totaly fine. However, I am not able to manage to create a response that contains all created pinterestPins.
Is anyone out there who had the same issue and solved it? Appreciate your help!
Cheers,
Thomas