I believe the ca_pam_isSelectRadio function is only valid within the IRF. You can use it in the script area of the IRF or in one of the properties such as “onSubmit”. But he post execution of the operator is executed at the process level so that function is no longer valid.
Andy Thompson
CA Technologies
Sr Support Engineer
Tel: 1-877-584-7267
Andrew.Thompson@ca.com<mailto:
Andrew.Thompson@ca.com>
support.ca.com
<mailto:
Andrew.Thompson@ca.com>[CA_Cert_Pro_ProcessAutomation_r4x]
From: CA Process Automation Global User CommunityMessage Boards [mailto:
CommunityAdmin@communities-mail.ca.com]
Sent: Wednesday, June 04, 2014 8:14 AM
To:
mb_message.11871426.119330230@myca-email.ca.com
Subject: [PAM - General Discussion] Interaction Request Form + Radio Group
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.
Posted by:duarte.sousa
--
CA Communities Message Boards
119332770
mb_message.11871426.119330230@myca-email.ca.com<mailto:
mb_message.11871426.119330230@myca-email.ca.com>
https://communities.ca.com