attachCollectionItem("XPath", item) | Allows attaching one item (record) from one collection to another collection. The item is not duplicated; it is shared by both collections. Both collections must belong to the same entity.Parameter 1: Collection XPath that will receive the item.Parameter 2: Item XPath to be attached. | Me.attachCollectionItem("XPath",item) |
attachCollectionItems("XPath", items) | Allows attaching one or more items (records) from one collection to another collection. The items are not duplicated; they are shared by both collections. Both collections must belong to the same entity.Parameter 1: Collection XPath that will receive the item.Parameter 2: Items XPath to be attached | Me.attachCollectionItems("XPath",items) |
CanRelease | Returns true when the current task can be released. | Me.CanRelease |
deleteAllCollectionItems("XPath") | Allows the complete deletion of all items (records) of a collection. The items will be deleted from the collection and from the database.Parameter: Collection XPath | Me.deleteAllCollectionItems("XPath") |
deleteCollectionItem("XPath", item) | Allows the complete deletion of one item (record) of a collection. The item will be deleted from the collection and from the database.Parameter 1: Collection XPath Parameter 2: XPath to the item of the collection to remove. This XPath must return ONE and only ONE item. If not, the function will fail. | Me.deleteCollectionItem("XPath",item) |
deleteCollectionItems("XPath", item) | Allows the complete deletion of one or more items (records) of a collection. The items will be deleted from the collection and from the database.Parameter 1: Collection XPath Parameter 2: XPath to the items of the collection to remove | Me.deleteCollectionItems("XPath",item) |
detachAllCollectionItems("XPath") | Allows detaching all items (records) from a collection. The items will no longer be part of the collection but will not be deleted from the database.Parameter: Collection XPath to be detached | Me.detachAllCollectionItems("XPath") |
detachCollectionItem("XPath", item) | Allows detaching one item (record) from a collection. The item will no longer be part of the collection but will not be deleted from the database. Parameter 1: The XPath must be the collection that will lose the item.Parameter 2: XPath to the item of the collection to detach. This XPath must return ONE and only ONE item. If not, the function will fail. | Me.detachCollectionItem("XPath",item) |
detachCollectionItems("XPath", items) | Allows detaching one or more items (records) from a collection. The items will no longer be part of the collection but will not be deleted from the database.Parameter 1: Collection XPath Parameter 2: XPath to the items of the collection to detach. | Me.detachCollectionItems("XPath",items) |
Duration | This function is used to set the duration of a Timer Event or an Activity. The duration is set in minutes. | Me.Duration |
EntryDate | This function returns the creation date of the current workitem. | Me.EntryDate |
EstimatedSolutionDate | This function is used to assign the date in which a Timer Event or an Activity is due. | Me.EstimatedSolutionDate |
getXPath("XPath") | This function is used to obtain values from the data model, like using angle brackets < > . It is used when obtaining values from filtered collections with variables.Parameter: XPath. Keep in mind that the XPath is written without inner angle brackets. | Me.getXPath("XPath") |
Id | Returns the ID of the current workitem. | Me.Id |
newCollectionItem("XPath") | Allows the inclusion of a new item (record) to a collection. The item is initially blank. You can assign a variable to set values to the new record. Parameter: Collection XPath | Me.newCollectionItem("XPath") |
removeRelation("XPath", bool) | Allows deleting items from a collection. It is possible to specify whether to delete the database records in the second parameter. | Me.removeRelation("XPath", bool) |
setXPath("XPath", value to set) | This function is used to set values to attributes of the data model. It must be used when setting values to filtered collections using variables or for setting today's date (DateTime.Today). Parameter 1 : XPath. Keep in mind that the XPath is written without inner angle brackets. Parameter 2: Value to set. | Me.setXPath("XPath", value to set) |
TimerEventDuration | This function is used to set a duration to a Timer Event attached to the boundaries of an Activity. The duration is set in minutes. | Me.TimerEventDuration |