What's new in Customer Journeys?

Connect and learn more!
Promise Reject not working — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Promise Reject not working

Accepted answer
edited Jun 13, 2022 4:13AM in General Technical Discussions 4 comments


Before save the workspace i am having one validation based on that i need to stop the workspace save action and i am using Promise for that . That reject is not working .

Content (required):

mySavingPromise.reject("Contact Mapped to this organization need to be In Active to terminate the organization");

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!