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

Question

Question

Can I Bust Checked Checkbox Values Into Their Own Tokens?

asked on May 2, 2023

How can I bust checked checkbox values into their own tokens in Workflow?

On the Form:

In Workflow, I get this far:

Workflow multi-value token output:

How do I get those two values into tokens called "ConfirmedEvent1" and "ConfirmedEvent2"?

Thank you for any help you can offer!

0 0

Answer

SELECTED ANSWER
replied on May 2, 2023

Thank you so much for that information, Miruna!  yes

I ended up using the "_Is Set" values as recommended to fill the ConfirmedEvent1 and ConfirmedEvent2 tokens.

The first chronological event will only ever fill the ConfirmedEvent1 token, so I used a Conditional Sequence.  If the first chronological event's checkbox was checked, then fill the ConfirmedEvent1 token with the date & name of the event:

For every other event, I started with a Conditional Sequence to determine if their checkboxes were checked, then I nested a Conditional Decision inside.  If ConfirmedEvent1 was empty, then fill the ConfirmedEvent1 token with the date & name of the event.  If ConfirmedEvent1 was NOT empty and ConfirmedEvent2 WAS empty, fill the ConfirmedEvent2 token with the date & name of the event.

1 0

Replies

replied on May 2, 2023

Checkbox fields generate 2 sets of tokens. One token for the full set of values chosen (the one in your screenshot) and one token per value indicating whether it was set or not.

For ex, a checkbox field called "checkbox" with this setup

results in these tokens in Workflow

"_is Set" tokens will have true/false values depending on the status of their corresponding checkbox.

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

Sign in to reply to this post.