Why changesTo() function does't work?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2013 08:18 AM
I have a UI action to set change state to pending:
current.state = '-5';
then I use a business rule to check it:
if (current.state.changesTo('-5'))
why this doesn't work? the condition always return false...
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2013 01:24 PM
Thanks Capa!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2017 06:34 PM
current.state.changes()&&previous.state=='<previous state>';