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

Question

Question

Populate a form table from a Workflow Invoke Business Process

asked on May 7, 2019

I am trying to start a from from a work flow. The workflow gets a Purchase order from SQL using Custom Query.

 

In this case I have 4 items and use a For Each Row to load the items into a Multi value Token.

When I run the work flow only the last item is loaded on the form.

 

I can't workout what I am doing wrong.

0 0

Answer

SELECTED ANSWER
replied on May 7, 2019

Are your create token activities in the loop ?

If yes i think the token value will be replace each loop with the actual one and not append to the multiple value token.

Create your tokens first and then in the loop modify the value and check the "Append" option, that should create the list correctly.

If not, I don't see at first sight what would be the problem.

Hope it helped.

Regards.

 

 

2 0
replied on May 7, 2019

Raphael is correct. If you Create the token with each loop iteration it will effectively overwrite the previous value so when you get to the invoke business process all you have is the latest version.

As Raphael mentions above, you need to Create your tokens before the loop, then Modify to append the values to those tokens in each loop iteration.

0 0

Replies

replied on May 8, 2019

Thanks that is now working.

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

Sign in to reply to this post.