Article Details
Id:11711
Product:finPOWER Connect
Type:NEW
Version:2.00.03
Opened:19/02/2014
Closed:19/02/2014
Released:04/03/2014
Job: J012870

Workflows; AfterItemAction event now has access to Decision Outcome

Workflow Items of type 'Decision Card' produce a Decision Outcome (a finDecisionOutcome type object). This is now available for Scripts to use in the 'AfterItemAction' event.

The following code shows how to access the Decision Outcome:

Dim DecisionOutcome As finDecisionOutcome 

Select Case eventId
  Case "AfterItemAction"
    If otherParameters.Exists("DecisionOutcome") Then
    DecisionOutcome = DirectCast(otherParameters.GetObject("DecisionOutcome"), finDecisionOutcome)
    End If
End Select