Auto Populate two field values in short description field on sc_task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 02:20 AM
Hi Experts,
Can you help me with small requirement.
Need to auto populate two field values in short description field after the request is submitted. Field variables "field_name" "program_request".
When user fills his response against this two fields its should auto populate in the short description field.
I even tried current.short_description =("Field Name")+ current.variables.field_name+ "\n" + ("Program request")+current+variables.program_request ;
It's not working , Please can anyone help me its urgent/priority.
Thanks,
tsai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 06:33 AM - edited 04-01-2024 10:37 AM
Hello @tsai25044 ,
you can do this using business rule
(function executeRule(current, previous /*null when async*/) {
current.short_description="Field Name: " + current.variables.field_name + "\nProgram request: " + current.variables.program_request;
})(current, previous);
Please mark this Helpful if it solves your query.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 06:34 AM
Hi @tsai25044 ,
Please check below that you can use in workflow:
current.short_description = "Field Name " + current.variables.field_name + "\nProgram request " + current.variables.program_request
Please mark this response as helpful if your question has been answered