Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Multi-step modal for record producer variables

sushma123vu
Tera Contributor

A Record Producer contains approximately 30 variables. A Service Portal widget must be added to the Record Producer form that displays a clickable link or button. When the user selects this link/button, a modal window should open.

The modal will display specific variables from the same Record Producer, organized into a four-step wizard. Each step of the wizard should show only a selected subset of the variables. For example, Step 1 may contain 2–3 variables, while the remaining variables will be distributed across Steps 2, 3, and 4. The assignment of variables to each step will be handled programmatically within the widget.

The modal must provide navigation controls such as Next, Previous, and Cancel/Close. Moving between steps should dynamically update the modal content to show the variables associated with that step. Any values entered in the modal should be reflected in the corresponding variables on the Record Producer form, ensuring data consistency.

 

The widget should retrieve and bind the Record Producer variables so that the modal fields interact directly with the same variables present on the form.

Is this requirement feasible?

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@sushma123vu 

this is heavy customization and I won't recommend this as it will lead to technical debt going forward considering upgrades etc

Please stick to OOTB methods available on catalog items.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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