I have been spinning my wheels trying to get this figured out.
I have a PAM process that is getting form data and placing it in a ValueMap. Some of these values are Boolean to represent checkboxes selected or not. I need to pass that information into an IRF for a manager to approve the form.
I started down the path of setting the values in the IRF from the assign_user_task form data initialization code. For the textboxes this worked just fine. Once I got to the checkboxes however, I realized I could not check the boxes (to my knowledge) from the initialization. So I am looking to find a way to get the ValueMap into the IRF script code for further processing. I have found a post here: Setting table values on an IRF showing how to pass an array, but I'm not seeing how I can use this to pass a ValueMap in. Trying to access the ValueMap by Key and Value (both upper and lower V) does not result in a table being populated.
I also found this post: How to Feed Interaction form with array data during form initialization? but likewise could not find a way to make it work.
Thanks much for any replies.
I'm not sure what version you are on, but there was a recent defect fix concerning IRFs and initializing checkboxes that was included in the Cumulative Patch 02 released for version 4.3SP2. If you are interested you can access this patch from support.ca.com.
Thank you much for the reply. I feel rather dumb as I hadn't tried setting the value to true of false in the form init. I am now able to adjust the checkboxes as needed. I also used this line in the script of the form:
to hide a checkbox if it is not selected. All works well.
Thank you again.