Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7091 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Can anyone explain when does validation occur when one is trying to create a new record via a script.

I want to initialize some of the fields in the record via the script, however, there are some mandatory fields.

When I execute the script ... which does a New Record/Request followed by a number of set fields (not including the mandatory field,) I get a message that the mandatory field requires a value.

If I reply Ok to that message I then get a message that the New Record/Request has been cancelled ... do I wish to continue?.

Clearly I am doing things in the wrong order ... but so far I cannot find how this order is controlled. What triggers record validation?

Posted

in your script, after doing the set fields do a commit record step and toggle the option to skip validation.

See if that works for you.

This topic is 7091 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.