cancel
Showing results for 
Search instead for 
Did you mean: 

Interact Question on changing states from process and rules

rachkim1617
Level 4
HI team, 

I used Get Form Schema to read in a collection for my form and then used a multi-calc to answer one of the questions using a Yes/No radio button from my process. I used Raise Submission to send a form to a user with 'No' as the answer to one of these questions.

I created a rule within Interact so that if 'No' is selected in the radio button Yes/No question, several other hidden fields would become mandatory. While I received the form with the question filled out 'No', the other hidden fields didn't appear.

Is this expected behavior? I need a way to populate various fields depending on what is required from my process, otherwise to keep them hidden. Any help would be great!

------------------------------
Rachael Kim
------------------------------
3 REPLIES 3

joefarr
Staff
Staff
Hi Rachael

This is the expected behavior. When changing a field value using the actions in the Utility - Interact VBO, the rules don't engage. You should use the other actions in the VBO to manipulate the submission into the format you'd like to display for your user. 

Cheers

------------------------------
Joe Farr
Product Consultant
Blue Prism Limited
------------------------------

Thanks for the quick response, Joe! Since I am sending a form with Raise Submission, I don't have a Submission ID to use the Change Field State to Mandatory/Optional actions

------------------------------
Rachael Kim
------------------------------

Hi Rachael

I see the problem so I won't suggest those fields being optional! As a workaround, you could use the Create Submission action to generate a work queue item, and then obtain it from the queue to get the Submission ID. It's a bit fiddly, but it can work.

The good news is that you will receive the Submission ID as an output in the next version (4.6), which is due to be released shortly. This is along side other changes to the Interact Remote API, such as the ability to edit paragraphs and raise submissions to multiple users with Raise Submission to Role. 

Cheers

------------------------------
Joe Farr
Product Consultant
Blue Prism Limited
------------------------------