Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Current position of identity. Optional.

Remarks

When input identity is a user;

Calculates the manager position of specified user.

...

If no position exist, returns null.

Example

Find a manager by form data

Code Block
languagejs
$Membership.FindManager( $Xml.Evaluate('PersonnelInformation/Owner') );

Example

Find a manager by form data with position identifier

Code Block
languagejs
$Membership.FindManager( $Xml.Evaluate('PersonnelInformation/Owner'), $Xml.Evaluate('PersonnelInformation/Position') );

Example

Find the manager of who has processed the current work item

Code Block
languagejs
$Membership.FindManager( $WorkItem.CompletedBy );

Example

Find the manager of a organization unit

Code Block
languagejs
$Membership.FindManager( $Xml.Evaluate('Department') );

...