Me Functions

<< Click to Display Table of Contents >>

Navigation:  Low-code Process Automation > Studio Cloud - Authoring environment > Bizagi Studio > Process wizard > Business Rules > Bizagi Functions >

Me Functions

Overview

The Me object encompasses a group of functions that get information related to the active case, task, or the element where the rule is executed. That means that the information that is retrieved by the object has the context of the process, case, and task or element where the function is executed., and therefore, information related to each item. This object is the Workitem, as the working BPMN element where the rule uses the Me object.

 

For example, if you have two processes, and you execute a rule using the Me object at different elements. In the first Rule you execute the Me object in a task, in the second rule you executed the object in a timer of a different process. Each invocation contains the relative information of each element. The Me object contains different information for each execution given the context by the element where the rule is executed.  The next figure explains the difference in both situations.

 

BizagiFunctions2

 

See our Bizagi Business Rules API

 

Within the Me object there are several functions to get different information about the item where the rule is invoked. The following table contains the functions you can use in the Me object.

 

FUNCTION

DESCRIPTION

SYNTAX

Me

This function returns the current object.

Me

Assignees

This function returns the current assignee.

Me.Assignees

Case

This function returns the properties of the current case.

Me.Case

Case Creator

This function returns the case creator.

Me.Case.Creator

Organization

Returns the organization of the current case.

Me.Case.Organization

ProcessDefinition

Returns the metadata of the current case.

Me.Case.ProcessDefinition

WorkingCredential

This funtion returns the current user's credentials for the case.

Me.Case.WorkingCredential

Context

This function is useful in rules that handle a different context than the Process entity.

Me.Context

Task

This function returns the metadata of the current activity/workitem.

Me.Task


Last Updated 3/29/2023 11:51:20 AM