Set value from Create New Module

kkaufmann
Tera Contributor

I am working with a scoped app and one of the requirements is to have two "Create New" modules.  

I have a field named "type".  One of the modules needs to open a new form with type set to "full_review".  The other needs to set the type field to "fast_track." Can I pass arguments in the Module to do this?

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage

yes, you can pass in something like &sysparm_query=type=full_review

View solution in original post

5 REPLIES 5

Mike Patel
Tera Sage

yes, you can pass in something like &sysparm_query=type=full_review

Perfect! Thank you!

Anurag Tripathi
Mega Patron
Mega Patron

Hii,

 

Yes you can pass values via url to be set on fields on the form

You can sue the module of type URL(from arguments) and pass the argumens as below

/incident.do?sys_id=-1%26sysparm_query=caller_id=2809952237b1300054b6a3549dbe5dd4&assignment_group=XXXX

 

 

-Anurag

-Anurag

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Send value in the url and get that value in onload client script and then set the values

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader