The CreatorCon Call for Content is officially open! Get started here.

Business Rule - Updating a Current Field

rebecca75
Tera Contributor

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?

find_real_file.png

12 REPLIES 12

Anurag Tripathi
Mega Patron
Mega Patron

If its an 'after' business rule then you need to add current.update(), no need to return


-Anurag

Thanks! I had to add the return or the script continues to fire.


You have posted this as a post and not question , hence the best you can do on this is to mark helpful


-Anurag

Hey ANurag - how do we know if this is a post or question ?


The little icon next to the post lets you know



This is a question


find_real_file.png



This is a Discussion:


find_real_file.png



Similarly you have different icons for ideas, blogs etc


-Anurag