Skip to content

List

Lists all activity entries associated with a specific object.

1
$ActivityStream.List(objectId: string, objectType: ( string | `"null"` ), type: ( string | `"null"` )):Array<ActivityEntry>

Parameters

string objectId
    The ID of the object for which to fetch activities.

( string | "null" ) objectType
    The type of object (e.g., "case", "instance", "process", "version", "workitem"). Optional.

( string | "null" ) type
    The type of activity to filter by (e.g., "share", "update", "assign"). Optional.

Returns

An array of ActivityEntry objects representing the activities.

Remarks

Listing activities

1
let list = $ActivityStream.List($Xml.Evaluate('CaseId'), 'case', 'share');

See Also