<< Click to Display Table of Contents >> Me |
FUNCTION |
DESCRIPTION |
SYNTAX |
---|---|---|
Allows to attach one item (record) from one collection to another collection. The item is not duplicated, it is shared by both collections. Both collections must belong (be related) to the same entity.
Parameter 1: Collection XPath that will receive the item. Parameter 2: Item XPath to be attached. |
Me.attachCollectionItem("XPath",item) |
|
Allows to attach 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 (be related) 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 |
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") |
|
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) |
|
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) |
|
Allows detaching all items (records) from a collection. The items will no longer be a part of the collection but they will not be deleted from the database.
Parameter: Collection XPath to be detached |
Me.detachAllCollectionItems("XPath") |
|
Allows detaching one item (record) from a collection. The item will no longer be a part of the collection but it 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) |
|
Allows detaching one or more items (records) from a collection. The items will no longer be a part of the collection but they 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) |
|
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 |
This function is used to assign the date in which a Timer Event or an Activity are due. |
Me.EstimatedSolutionDate |
|
This function is used to obtain values of the data model, as using angle brackets <>. The function has to be used when obtaining values from filtered collections that use 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 |
Allows the inclusion of a new item (record) to a collection. The item is initially included as a blank entry. You can assign a variable to set values to the new record.
Parameter: Collection XPath |
Me.newCollectionItem("XPath") |
|
Allows to delete items from a collection. It is possible to specify whether you want or not to delete the database records in the second parameter. |
Me.removeRelation("XPath", bool) |
|
This function is used to set values to attributes of the data model. The function has to be used when setting values to filtered collections using variables. It must also be used to set 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) |
|
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 |
Last Updated 1/6/2022 11:34:21 AM