Using the $form_data_sd_row$ variable, the fields in CA Process Automation (PAM) are not in the same order as in the CA Service Catalog form.

Document ID : KB000028733
Last Modified Date : 14/02/2018
Show Technical Document Details

When using the CA Service Catalog $form_data_sd_row$ variable to pass information from a CA Service Catalog form to a CA Process Automation (PAM) process, the order of the fields is not the same as the order of the fields on the form.

i.e. The Service Catalog form contains these fields:

FirstName
LastName
Address1
Address2
Address3
Postcode
PhoneNumber

When the data is examined in PAM, the value is:

{"10308" : [
{"name" : "Address1","value" : "Add1","type" : "5"},
{"name" : "Address2","value" : "Add2","type" : "5"},
{"name" : "Address3","value" : "Add3","type" : "5"},
{"name" : "FirstName","value" : "First","type" : "5"},
{"name" : "LastName","value" : "Last","type" : "5"},
{"name" : "PhoneNumber","value" : "Phone","type" : "5"},
{"name" : "Postcode","value" : "Post","type" : "5"}]}

The fields are in alhpa-numeric order, rather than the order of the fields as they are defined in the form. You can use this information to order the fields in an appropriate order in CA PAM by renaming the fields so that they appear in the order you require.