What will gs.getUserID() return ?

Amarendra
Mega Contributor

What will gs.getUserID() return in case the requester of a task replies a "pending-customer action" notification email sent from the system ?

8 REPLIES 8

palanikumar
Mega Sage

It returns the Sys_id of the user who responded


Thank you,
Palani

Chuck Tomasi
Tera Patron

My concern here is different, below is the config. for my instance:



(1)I have an inbound action which adds the email reply as the "comments" of catalog task


(2)have a BR which change the "status" of the catalog task on :


Condition:   current.comments.changes()


Script:


if(current.state=='pending' && current.u_sub_status == 'Customer Action' && (current.u_task_for == gs.getUserID()){


      current.state=1;


      current.u_sub_status='';


}



So now my question is-   how will the script determine the value of gs.getUserID() if the requester has only replied the email and have NOT logged in to the instance to view the request task or add any comment.



Hi Amarendra,



Did you get an answer for your question? I have a similar concern.