The CreatorCon Call for Content is officially open! Get started here.

How to make change states available

rai5
Mega Guru

Hello, 

 

 I recently started working on a change implementation and need to make some states available for a custom type of change. I can see the UI action to move changes to access or other states have the following code in the condition ChangeFormUI(current).isAuthorizeAvailable() or ChangeFormUI(current).isAssessAvailable() and even the state does not show from the drop down. Where and how can I configure this?

2 REPLIES 2

Rohit Kaintura
Mega Guru

When you are saying custom did you created a new choice?

If yes try using change model (chg_model) and then align your custom change type with it. After that you can associate states under it.

 

And for UI action just add or condition to make things simpler as most of OOB script include are readonly and then you need to create extension point.

 

RohitKaintura_0-1677437374572.png

 

Thanks Rohit, will try that and let you know how it works. I thought since we are not using the new change state model because we will be using workflows that would be done somewhere else.