ApprovalPlugin

— This plugin works with the approval history of documents.

Сontent

  1. ImplicitActions
    1. WriteApprovalHistory
    2. UpdateApprovalHistory
    3. InsertInboxAsync
  2. Settings
    1. GetUserNamesByIds
    2. NameParameterForComment

ImplicitActions

Table of contents

— Actions that are not accessible from the form, but used in the scheme; added to the scheme implicitly if this plugin is connected.

WriteApprovalHistory

Table of contents

— Write future approval stages in the table WorkflowApprovalHistory.

This action is added automatically to activities using buildstep. Can be only added to activities whose State property is defined

UpdateApprovalHistory

Table of contents

— Update an approval stage in the table WorkflowApprovalHistory.

This action is added automatically to activities using buildstep. Can be only added to activities whose State property is defined

InsertInboxAsync

Table of contents

— Save the users associated with the current process in the table WorkflowInbox.

On adding the plugin, the event ProcessActivityChanged is subscribed. Action is triggered by this event.

Settings

GetUserNamesByIds

Table of contents

— A delegate, your function should return the users with the listed ids. If there is no subscription, the value is taken from the system parameter processInstance.IdentityIds.

Action syntax:

List<string> GetUserNamesByIds(List<string> idS)
{

}

Used for WriteApprovalHistory.

NameParameterForComment

Table of contents

— The name of the parameter to get the comment when updating a record. By default: Comment.

Used for UpdateApprovalHistory.

Top