You are viewing limited content. For full access, please sign in.

Question

Question

How do you pass a Forms table as an input parameter to another workflow?

asked on November 29, 2016 Show version history

We have Workflow A that retrieves variables from a Forms process. One of the variables is a table/collection. We want to invoke a "sub-workflow" that processes this table/collection. What's the best (cleanest & easiest) way to accomplish this?

It looks like you can set each table field as an input parameter in Workflow B and then send them individually (as multi-value tokens, I assume) from Workflow A. Is that correct? Is there a way to pass the entire collection itself and then iterate over it in Workflow B using For Each Row?

Workflow 9.2

0 0

Answer

SELECTED ANSWER
replied on November 30, 2016

It would be better to just pass instance and submission IDs and get the table in the invoked workflow. It will give you better table structure than just passing in the columns as multi-value fields.

0 0
replied on November 30, 2016

Do I name the input parameters of Workflow B as "BP Instance ID" and "BP Submission ID"?

0 0
replied on November 30, 2016

It doesn't matter what you name them as long as you give them values using those tokens when you invoke Workflow B. Just switch over to the advanced properties in Retrieve Business Process Variables,

and you  can set the specific instance and submission you want read

You'll find the input parameters in the Token Dialog along with the rest of the tokens.

1 0
replied on November 30, 2016

Oh right, I forgot that activity had advanced properties.

0 0

Replies

replied on November 30, 2016

Yes I would store each each field in the table/collection as a multivalue token. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.