Validation entries before DCM changes

Hi all,

How to do a validation on the entries when the user clicks the DCM to change status?

If the validation fails, the DCM will remain in the current status.

The business process only checks after an update which is not ideal for validation checking.

Like 0

Like

6 comments

Hi David

 

We've worked around this by creating buttons that trigger processes.

Inside the process the checks are run, and then the state is changed.

 

Rgds,

Luis

Hello,

 

Could you please describe your business task in more detail so we could better understand how exactly you need the system to work?

To accomplish this we store the stage in an attribute and then can revert back if needed. I have an example of this here https://customerfx.com/article/how-to-prevent-users-from-moving-a-case-…

Ryan

Luis Tinoco Azevedo,

Hi Luis,

 

I have thought about this.

However, how to implement this concept if the DCM has many stages?

Do we need to create a button for every stage?

 

David

Ryan Farley,

Hi Ryan,

 

Thank you for the article.

The approach in the article is very neat. It might be the suitable solution to my problem.

I love the articles from customerfx.com.

 

Thanks again.

 

David.

 

Mira Dmitruk,

Hi Mira,

 

Assume the screen below, on a certain condition the "Sales order service" should not be empty before entering the "In progress" status. However, I couldn't set the "required" attribute on the field from the business rule, because the condition is a bit complex.

In this case I need a validator before the status changes to "In progress".

 

David

Show all comments