Stepper Configuration In Custom Workspace

Dibyendu Mukher
Tera Contributor

I am configuring Stepper component as  a part of one of my requirement. As of today, whenever there is a state change for my record, the stepper is not displaying the correct state. Only after reloading the page, stepper is reflecting the correct stage. Can anyone help me to deal with this issue.

2 REPLIES 2

Saura Sambit
Tera Expert

@Dibyendu Mukher 

 

Adding onSubmit REFRESH handler will help with the use case.

Please refer to this article -

https://www.servicenow.com/community/next-experience-articles/stepper-component-in-configurable-work...

Maren R
Tera Contributor

I had the same issue, but it was fixed when I added a new event mapping on the "Form controller" data resource of the type "Form status changed" which refreshes the data resource that gets the stepper values (GetStateSchema if you have followed this guide https://www.servicenow.com/community/next-experience-articles/stepper-component-in-configurable-work... 

Marenrasmussen_0-1736347225283.png