C# Class strICT.InFlow.WFM.Core.CoreFunctions

core functions for process execution
Show file Open project: InFlowBPM/InFlow-BPMS Class Usage Examples

Public Methods

Method Description
CoreFunctions ( string wfmBaseAddress, string wfmUsername, string wfmPassword, string connectionString ) : Microsoft.Activities

constructor

startNewSubjectProcess ( string processInstanceId, int subjectProcessId, string username ) : string

start a new instance of a processsubject with an existing processinstanceid

startNewSubjectProcess ( int subjectProcessId, string username ) : void

start a new instance of a processsubject with new processinstanceid

submitFunctionTaskAnswer ( int taskId, string transition, string editableParameters, string username ) : void

Set taskanswer for a function-state task

submitReceiveTaskAnswer ( int taskId, string messageInstanceId, string username ) : void

Set taskanswer for a receive-task

submitSendTaskAnswer ( int taskId, string recipientName, string editableParameters, string username ) : void

Set taskanswer for a send-state task

terminateSubjectInstance ( string workFlowId ) : void

Private Methods

Method Description
submitTaskAnswer ( DynamicValue val, P_Process process, T_Task openTask ) : void

Method Details

CoreFunctions() public method

constructor
public CoreFunctions ( string wfmBaseAddress, string wfmUsername, string wfmPassword, string connectionString ) : Microsoft.Activities
wfmBaseAddress string
wfmUsername string
wfmPassword string
connectionString string
return Microsoft.Activities

startNewSubjectProcess() public method

start a new instance of a processsubject with an existing processinstanceid
public startNewSubjectProcess ( string processInstanceId, int subjectProcessId, string username ) : string
processInstanceId string existing processinstanceid
subjectProcessId int id of the processsubject
username string owner of the new processsubject instance
return string

startNewSubjectProcess() public method

start a new instance of a processsubject with new processinstanceid
public startNewSubjectProcess ( int subjectProcessId, string username ) : void
subjectProcessId int processsubjectid
username string owner of new processsubject instance
return void

submitFunctionTaskAnswer() public method

Set taskanswer for a function-state task
public submitFunctionTaskAnswer ( int taskId, string transition, string editableParameters, string username ) : void
taskId int Id of the task
transition string choosen transition
editableParameters string edited parameters
username string
return void

submitReceiveTaskAnswer() public method

Set taskanswer for a receive-task
public submitReceiveTaskAnswer ( int taskId, string messageInstanceId, string username ) : void
taskId int Id of the task
messageInstanceId string Id of the choosen message
username string username
return void

submitSendTaskAnswer() public method

Set taskanswer for a send-state task
public submitSendTaskAnswer ( int taskId, string recipientName, string editableParameters, string username ) : void
taskId int Id of the task
recipientName string choosen recipient/s
editableParameters string edited parameters
username string
return void

terminateSubjectInstance() public method

public terminateSubjectInstance ( string workFlowId ) : void
workFlowId string
return void