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

Question

Question

Passing checkbox variable from workflow to BP

asked on July 27, 2023 Show version history

In cloud, we have a workflow that passes variables to a business process. All the variable are passing except checkboxes. We cannot get the checkbox variables to pass.

I setup a simple form (new format) that has:

  • FirstName (Single field)
  • LastName (Single field)
  • rbPhones (radio button - 2 options: Home, Mobile)
  • ckPhones (check box - 2 options: Home, Mobile)

I set the BP to allow "invoke business process" (so we can pass variables from WF) and selected the 4 input variables.

** The checkbok phones is listed as "Boolean" as Parameter Type here**

I re-worked the workflow to start the test BP and matched the fields.

When I run the workflow:

  • The variable ckPhones (checkbox) never gets the values that are sent from the workflow (selecting 1 option or both)
  • The workflow instance never completes (shows running even though the BP has submitted the form)

What are we missing with passing the variable to checkboxes from a workflow to a business process?

 

thanks,

Brian

 

0 0

Answer

SELECTED ANSWER
replied on July 28, 2023

FYI.....

The values for the ckPhones are:

The value(s) trying to pass from workflow are:

Home,Mobile

I have also tried Home and Mobile individually and they do not pass to the BP.

 

0 0
replied on July 28, 2023

This looks like a bug. Reference ID # 474718. The expectation was that the token would accept a comma-delimited list of values in order to check their respective box.

Unfortunately, it does not look like using the individual variables corresponding to each checkbox works either.

We're currently looking into the issue.

0 0
replied on July 28, 2023

Thanks for the update.

0 0
replied on July 31, 2023

It does work, it just has the wrong tag. It has a Boolean tag which means it only accepts 2 possible values; True or False. Therefor if True or False happen to be options in your checkbox menu it works, if any other strings are used you can't pass that information.

The tag just needs to be changed from Boolean to String. But there is no option to click and change it here on the input params screen.

Here is a task assigned by workflow successfully, I just can't pass something like "Choice 1" to a Boolean.

0 0
replied on November 7, 2024

This issue was addressed in September 2023.

0 0

Replies

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

Sign in to reply to this post.