Business Rule - Updating a Current Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 12:03 PM
I'm trying to update a current field and no matter what I try it doesn't work and the field is left blank.
This BR fires on the sc_task table and the u_orch_name and u_orch_output_parms are both there from the task table. If I do a gs.log on current.u_orch_name then I see the value just fine. However, when I try to update the u_orch_output_parms field to 'TESTER' it doesn't work. The field is a text field up to 1k chars. I tried using a glidescript to hit the task table and update the field there and still no go. Any idea why this isn't working?
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 12:09 PM
Try adding update() statement before return.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 12:27 PM
Thank you it worked! current.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 12:31 PM
How do I mark this correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 12:36 PM
How To Mark Answers Correct From Community Inbox
Please mark my response as correct and helpful if it helped solved your question.
-Thanks