workflow script for approval of given application owner approval

suresh51
Tera Contributor

find_real_file.png

Hi guys,

pls help i need to script for  application owner approval 

1 ACCEPTED SOLUTION

Are the field names correct? can you check if the application has business owner mapped? if yes also verify if owner is active or not.

keep log and verigy the values 

gs.info("business owner: "+current.variables.application.u_business_owner.toString());
answer =[];
answer.push(current.variables.application.u_business_owner.toString());

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

View solution in original post

15 REPLIES 15

yes

Try this

answer =[];
answer.push(current.variables.application.u_business_owner.toString());

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

not working

 

Are the field names correct? can you check if the application has business owner mapped? if yes also verify if owner is active or not.

keep log and verigy the values 

gs.info("business owner: "+current.variables.application.u_business_owner.toString());
answer =[];
answer.push(current.variables.application.u_business_owner.toString());

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

suresh51
Tera Contributor

sorry for the update its not application owner i need its tagged application owner pls help me