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

core functions for process execution
Afficher le fichier Open project: InFlowBPM/InFlow-BPMS Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
submitTaskAnswer ( DynamicValue val, P_Process process, T_Task openTask ) : void

Method Details

CoreFunctions() public méthode

constructor
public CoreFunctions ( string wfmBaseAddress, string wfmUsername, string wfmPassword, string connectionString ) : Microsoft.Activities
wfmBaseAddress string
wfmUsername string
wfmPassword string
connectionString string
Résultat Microsoft.Activities

startNewSubjectProcess() public méthode

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
Résultat string

startNewSubjectProcess() public méthode

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
Résultat void

submitFunctionTaskAnswer() public méthode

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
Résultat void

submitReceiveTaskAnswer() public méthode

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
Résultat void

submitSendTaskAnswer() public méthode

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
Résultat void

terminateSubjectInstance() public méthode

public terminateSubjectInstance ( string workFlowId ) : void
workFlowId string
Résultat void