$ActivityStream.List

Overview

Lists all activity entries belongs to an object.

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

Arguments

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

Example

Listing activities.

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

Copyright © 2010 - 2023 Emakin. All rights reserved.