IT Process Automation

  • 1.  How to update variables within a field set on an Interaction Request Form using web service?

    Posted Aug 19, 2016 05:56 PM

    When using CA PAM web services 'executePendingInteraction' method to complete a task and the form variables are enclosed in a Field Set form element the variables are not updated with the values in the param tag, instead new variables are added with the values passed into the web service. How do we update nested variables from web services?



  • 2.  Re: How to update variables within a field set on an Interaction Request Form using web service?

    Broadcom Employee
    Posted Aug 22, 2016 05:37 PM

    Nested variables are updated using the top level variable and then the internal variable names like this:

     

    Form.Field_Set_1.Field_1

     

    where Field_Set_1 is the name of the Field Set and Field_1 is the name of the internal variable in that Field Set.



  • 3.  Re: How to update variables within a field set on an Interaction Request Form using web service?

    Posted Aug 22, 2016 05:57 PM

    Hi Andrew,

     

    Thanks for the response.

     

    Using Form.Field_Set_1.Field_1 format in soap web service xml payload does not update the field with the value. Tested using SOAP UI.

     

    Ny Tillman



  • 4.  Re: How to update variables within a field set on an Interaction Request Form using web service?

    Broadcom Employee
    Posted Aug 24, 2016 09:29 AM

    Just realized that with field set variables, you have to initialize the variable first.  Then you can assign a value to it.

     

    In the Form Data Initialization Code window, initialize any form variables. For the following examples, myTextField is the _id of the form element that you want to initialize.

      • For simple data types, enter:
      • Form.myTextField='welcome'.

     

      • If the simple field is inside a ValueMap or field set, enter:
      • Form.value_map= newValueMap();
      • Form.valuemap.myTextField="welcome";

     

      • If the simple field is inside a complex value map in a valueMap, enter:
      • Form.value_map.value_map_nested= newValueMap();
      • Form.value_map.value_map_nested.text_field_nested="test";