- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2019 10:07 AM
Hi all - trying to figure out where I've gone astray here.
First one, if statements in the record producer script 'section'. I want to have folks select from a 'select box' (request_type) and then use that to drive what appears in the description box when a task is generated. I've tried several variations of the below but I seem to just get a blank field back on submission. Taking the current.description parts out and using them on their own works fine (basically, I want only the 'change' fields showing when someone submits for change, and 'delete' fields for delete).
If(producer.request_type == 'Change');
{
current.description = "User to Update: " + producer.updatename.name + '\n' + "Systems Required: ";
}
if(producer.request_type == 'Delete');
{
current.description = "help";
}
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2019 12:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2019 12:24 PM
If needs to be lower case (if).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2019 12:29 PM
Of course that was it. Sheesh! Thank you so much!