cancel
Showing results for 
Search instead for 
Did you mean: 

How CheckAndDetermine Operation works ?

former_member187312
Participant
0 Kudos

Hello Experts,

I would like to know, how CheckAndDetermine Operation works. From the context of studio document, I understand that it would trigger the validation, but it didn't trigger the validation on save. and I'm not sure what it would be validated against.

Any example or clarification from any one is much appreciated.

Br,

Senz



Accepted Solutions (0)

Answers (2)

Answers (2)

anant_acharya
Advisor
Advisor

Dear Senz Evo,

The CheckAndDetermine offers a generic function for checking BOs, without the need for an explicit, modeled BO action. A check carried out with this operation triggers the validation of a whole BO instance, or a specific node with subnode tree. Error or warning messages are sent to the client if there are any inconsistencies. This operation is generally used for Guided Activity floorplans, but may also be used in other applications where you want to implement a check button.

From UI designer settings some of the Thing inspectors at the time of loading, call the check and determine method to find error/warning in existing BO instance data to display it as messages to the user. As of now, the check is being done synchronously at the time of loading of data in the backend.

Note - The system always executes the OnSave validation after having executed the BeforeSave event.

Regards

Anant

former_member187312
Participant
0 Kudos

Hi Anant,

Thanks for your reply, I understood little better now.

However, I noticed the CheckAndDetermine triggers the Event-Aftermodify when I configure it for a button, Is this the only way to raise the error message, because, any change in UI fields would trigger the error message, then the point of using CheckAndDetermine would be meaningless.

Best Regards,

Senz