AnsweredAssumed Answered

Interaction Request Form + Radio Group

Question asked by Duarte.Sousa on Jun 4, 2014
Latest reply on Jun 13, 2014 by Juerg_Walther

Hello everyone,

I just got started with PAM, and I do have a little problem and can't find the solution. I do have a Interaction Request Form with 3 radio buttons.

On the process, in a Assign_User_Task operator that is calling that IRF, I want to know which of the 3 radio's was pressed, so in a post-execution code I done this:

if (ca_pam_isSelectRadio('Form.Var_0', 'Form.Var_0.request') == true){
  Process.choice="rq";  
}else if(ca_pam_isSelectRadio('Form.Var_0', 'Form.Var_0.incident') == true){
  Process.choice="in";  
}else{
  Process.choice="pb";  
}
 
The problem is, after executing and submiting the form... I'm getting the error "ReferenceError: "ca_pam_isSelectRadio" is not defined. (#5)". Any advice? :)
 
Other think I wanted to know is... on the Create_Request operator, are we able to change tha values of some paremeters by code? For example the Request Type, Priority?
 
Thanks for all of your atention.
 

Outcomes