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

Question

Question

Cloud - Pass Multi-Value Tokens to Forms Collection

asked on October 26, 2020

Hello, I was wondering if anyone has been able to populate a collection in Forms by passing multi-value tokens from Workflow to the Forms process using the Invoke Business Process activity.  I can get it to pass the first token value to populate the first row but it won't create any subsequent rows even though the tokens passed to it had multiple values.

For On Prem you just match multi-value tokens to Forms collection (or table) variables and it is able to interpret each token into a new row/collection.

Is this functionality not included in Cloud or am I doing something wrong?

0 0

Replies

replied on October 26, 2020 Show version history

When you defined your output parameters, are those configured as multi-value outputs? What you are describing is supported and should work, something is configured incorrectly. 

Sorry, I checked the case where a workflow service task calls back into a process. It looks like there is a bug with starting a process off with multi-value tokens. We'll get that fixed as soon as possible. 

0 0
replied on October 26, 2020

Hey Jared, I've got my Input Parameters configured as the Field Variables and my Invoke Business Process activity is passing multi-value tokens to these variables.  I've provided the screenshots.

I don't see anywhere to specify that these values are multi-value.  I've set the tokens as multi-value in a previous workflow activity and then I have a For Each activity that inputs values into these multi-tokens.

Forms Process Input Parameters.jpg
Invoke Business Process Activity.jpg
0 0
replied on October 26, 2020

Ok thanks!

0 0
replied on January 11, 2021

Hey Jared, any update on this?  Or is there a workaround?  

0 0
replied on January 11, 2021

It's fixed and was released back in the end of 2020. Sorry I didn't update this post. Let me know if you run into any other problems. 

0 0
replied on January 11, 2021

Ok great!  Is there something special I need to do for the Business Process OR Workflow to reflect the fix? 

My previous process still runs whenever I do billing and so far it's still only populating the first row of the collection/table.

Do I just need to re-publish the Workflow or is there something special I need to do so that Multi-value tokens can be passed to the Forms/business process?

0 0
replied on January 11, 2021

Republish should work. You might need to remove the input parameter from the business process and add a fresh one, then reconnect the invoke BP activity to the new parameter. 

0 0
replied on January 12, 2021

So it's still only populating one row in the collection.  I've tried republishing the Business Process and removed the Invoke BP process from my Workflow and added it back then re-input all the input parameters and multi-value tokens then republished the Workflow.

I don't see any option on BP side to state whether the collection rows can be appended by multi-value nor do I see any way to dictate that on the Workflow side.  For whatever reason either A.) The forms process isn't interpreting the multi-value tokens into the collection or B.) Workflow is only passing the first value of each multi-value token.

Do I have to delete the collection/form from the process and recreate the entire thing?

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

Sign in to reply to this post.