Hyphens in SoapResponseData Variables

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

Certain CA IT PAM Web Service methods (for example, "GetFlowState"), create SoapResponseData variables with hyphens ("-") (for example, flow-state, submission-time, sender-address, and connection-id). The hyphen causes syntax problems when the variables are referenced (i.e. in post-execution).  You may see an error like this:


Error in post-execution code. Failed to execute code:


 -- ReferenceError: "state" is not defined. (#4)


Use alternate syntax to access values. For example, use:


instead of



Notice that the period before flow-state is removed and the brackets and quotes are added around flow-state.  This syntax will work and prevent the above error.