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

Question

Question

Populating a forms checkbox, using checkbox values from another form and invoked by workflow

asked on November 24, 2016

Hi LF gurus.

I am trying to populate a checkbox in Form by invoking the form process from workflow. The workflow receives the checkbox data from a previous form, and my end goal is to have the same checkbox options checked on the second form as the user who submitted the first form chose.

I use  the Retrieve Business Process Variable steps in workflow to grab the data from the LF Forms Business Process and write it to a token. This token is used to write to a template field where I can confirm it is stored as a comma-separated list, with underscores in place of spaces, apostrophes etc. The same token then parsed to the second form using through the Invoke Business Process step.

My issue is, that only the first checkbox chosen is ever checked on the second form, and when I look in instances, only the first checkbox value is present after being parsed by the Invoke step to the new Forms process.

Is the issue with the single value being all that is parsed back, or am I approaching this completely from the wrong angle?

I've attached a screenshot of my process.

Any help will be greatly appreciated, I have been pulling my hair out over this for a day now!

 

 

 

 

LF Process.JPG
LF Process.JPG (38.31 KB)
1 0

Replies

replied on November 25, 2016 Show version history
replied on November 25, 2016

Is the checkbox using choices and values? If values are being used are they unique? And have you consulted this post?

0 0
replied on November 29, 2016

Thanks Xavier. After much trail and error I decided to attack the problem from a different angle and kept both forms in the same business process and calling small workflows (rather than the other way around). This worked for me.

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

Sign in to reply to this post.