Apply $GROUP(), $ROLE(), and $MANAGER() macros to InfoPath field

Applies To

Objective

Apply built-in macros $GROUP(), $ROLE(), and $MANAGER() to InfoPath fields.

Summary

You can apply macros $GROUP(), $ROLE(), and $MANAGER() directly bind to InfoPath data with the syntax of

$GROUP($[XPath of InfoPath Field])

Resolution

The syntax is the following:

$GROUP($ [XPath of InfoPath Field] )

Similar syntax applies to $ROLE() and $MANAGER().

Attached you will find a process template as well as an InfoPath schema file as a sample.

In the process template, the participant of the Review activity is set to the following:

$GROUP($/my:myFields/my:GroupName)

Where /my:myFields/my:GroupName is the XPath of the GroupName field in the InfoPath form. When a user enters a valid group name in this field, the AgilePoint will use try to assign every members in the group as the participant for the Review activity.