- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2014 01:12 PM
Is this a business rule? I have changes that are closed incomplete but still show active? Where is this flag set?
Thanks JJ
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2014 06:44 AM
very simple example, if phase is closed or withdrawn, then set state to closed:
condition: current.phase_state.changesTo('closed') || current.phase_state.changesTo('withdrawn')
script:
current.active=false;
if (current.phase_state.changesTo('closed'))
{current.state = 3;}
if (current.phase_state.changesTo('withdrawn'))
{current.state = 7;}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2014 08:08 AM
Mguy did you do this on After or before? Insert or Update
Thanks JJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2014 08:10 AM
before update.