Article Details
Id: | 11131 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 1.06.08 |
Opened: | 06/05/2013 |
Closed: | 07/05/2013 |
Released: | 28/05/2013 |
Job: | J011549 |
Workflows; new business layer method to get the Next Workflow Item
The finWorkflow business layer object now has a GetNextItem() method which returns the next Workflow Item with a Status of 'Not Started' or Nothing if there is no next item.
WARNING: In the 'AfterItemAction' Script event, the current item has already been moved on to the next item, therefore this method may not act as you expect, i.e., it will return what you may perceive as being the next-next item.