Guest
Hi,
How do I use Skill Variables / Skill Expressions in a Unix Command ??
In my skill code I m trying to execute mailx command by using system
command. I want to get the Inputs such as the Subject of the mail, cc
list and the user id from a form. I tried passing the form field
inputs to the system(mailx ....) command in the below 2 ways.
1) The Below syntax fails as the arguments to the mailx are skill
expressions.
system("mailx -s formName->subFieldName->value -c formName-
variables before using them in the mailx command .
setShellEnvVar("Sub=formName->subFieldName->value ") .Even by this I
am not able to assign the value of the string field(subject name) to
the variable Sub.
Regards,
Isra
How do I use Skill Variables / Skill Expressions in a Unix Command ??
In my skill code I m trying to execute mailx command by using system
command. I want to get the Inputs such as the Subject of the mail, cc
list and the user id from a form. I tried passing the form field
inputs to the system(mailx ....) command in the below 2 ways.
1) The Below syntax fails as the arguments to the mailx are skill
expressions.
system("mailx -s formName->subFieldName->value -c formName-
2) I tried assigning the form field values to Shell environmentalcclistFieldName->value formName->mailidFieldName->value < file_path")
variables before using them in the mailx command .
setShellEnvVar("Sub=formName->subFieldName->value ") .Even by this I
am not able to assign the value of the string field(subject name) to
the variable Sub.
Regards,
Isra