- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 06:29 AM
Right now, I have a script that auto-populates the short description in the Requester Information, with what it inputs in the Server Name variable as shown in the attached image. The problem is, it only pulls the short description and doesn't add the text I want it to.
Here is my code:
current.short_description = "Server Decommission request - " + current.variables.ShortDesc.getDisplayValue();
Note:
the Sever Name variable is ShortDesc
the Short Description is short_description
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 07:23 AM
You don't have Insert or Update checked on the business rule. This leads me to believe something else is setting it because this business rule never ran!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 06:31 AM
Where is this script being run from Nic? A business rule? Before/after? Can you include a screenshot of the larger context?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 06:36 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 06:40 AM
Thanks Nic.
Where in the workflow is this being set? If possible, consider setting it from an BEFORE/INSERT business rule when the record is created instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 06:53 AM