Skip to content

List

Lists all activity entries belongs to an object.

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

Parameters

string objectId
    Id of the object that activities will be fetched from.

( "null" | string ) objectType
    Type of the object. Optional. (case, instance, process, version, workitem)

( "null" | string ) type
    Type of the activity. Optional. (share, update, assign, ...)

Returns

Array of the activities

Remarks

Listing activities.

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