Sign in to Community
Sign in to view all badges
Using Adobe Classic, I have a requirement to call an API to get some PII data into the Marketing server at runtime.
For this, I am creating a workflow that will accept the input parameters, take its value and call the API and get the data back.
The way I am solutioning it is, that any workflow can call this workflow by making an External Signal call and get the PII back.
The challenge is how do I pass the values from this workflow to the calling workflow? Has anyone done this before?
Is there a better way to do this?
You should instead work with a sub-workflow activity.
Limitation is that the sub-workflow activity can only stick to one targeting dimension.
I tried the sub-workflow and it worked. I was able to pass the variables from one to another.
Here is the what I did:
Created an workflow to get input as a Long URL parameter from the calling workflow.
Call an API to shorten the URL and then return the short URL back to the calling workflow.
The API workflow is as follows:
Then I created the source workflow in which I used the sub-workflow:
It sets the value of strText in Start and then calls a Subworkflow which does the job and returns the short URL which I am printing in the JS.
Note: I had to use instance.var.strText in my Start of the calling workflow to pass the values to the sub-workflow.
Just tried the sub-workflow but was not able to figure out the output. Is there any sample/tutorial that is available online where I can check? I could see the only reference to sub-workflows here https://docs.campaign.adobe.com/doc/AC/en/WKF_Repository_of_activities_Order_activities.html#Sub-wor...
Thanks for your response.
I will try the sub-workflow activity today.