Diagram in Expression Language: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
! '''Description''' | ! '''Description''' | ||
|- | |- | ||
||Content | ||Content (Dictionary) | ||
||Returns content of the diagram as | ||Returns content of the diagram as dictionary. | ||
|- | |- | ||
||CreatedBy | ||CreatedBy (User) | ||
||Returns user | ||Returns user who created the diagram. | ||
|- | |- | ||
||CreatedDate | ||CreatedDate (Datetime) | ||
||Returns diagram creation date. | ||Returns diagram creation date. | ||
|- | |- | ||
||Description | ||Description (String) | ||
||Returns | ||Returns description of the diagram. | ||
|- | |- | ||
||Id | ||Id (Integer) | ||
||Returns | ||Returns id of the diagram. | ||
|- | |- | ||
||LastModifiedBy | ||LastModifiedBy | ||
||Returns user | ||Returns user who modified the diagram. | ||
|- | |- | ||
||LastModifiedDate | ||LastModifiedDate (DateTime) | ||
||Returns diagram last modification date. | ||Returns diagram last modification date. | ||
|- | |- | ||
||Model | ||Model (Model) | ||
||Returns model object | ||Returns model object which owns the diagram. | ||
|- | |- | ||
||ModelId | ||ModelId (Integer) | ||
||Returns | ||Returns id of the model which owns the diagram. | ||
|- | |- | ||
||Name | ||Name (String) | ||
||Returns | ||Returns name of the diagram. | ||
|} | |} | ||
Revision as of 12:56, 12 October 2023
Diagram is a drawing canvas where elements can be added to create user-defined business process and architecture designs. Each diagram belongs to the model in QPR ProcessAnalyzer and there can be several diagrams in each model.
Diagram Properties
Property | Description |
---|---|
Content (Dictionary) | Returns content of the diagram as dictionary. |
CreatedBy (User) | Returns user who created the diagram. |
CreatedDate (Datetime) | Returns diagram creation date. |
Description (String) | Returns description of the diagram. |
Id (Integer) | Returns id of the diagram. |
LastModifiedBy | Returns user who modified the diagram. |
LastModifiedDate (DateTime) | Returns diagram last modification date. |
Model (Model) | Returns model object which owns the diagram. |
ModelId (Integer) | Returns id of the model which owns the diagram. |
Name (String) | Returns name of the diagram. |
Diagram functions
Function | Parameters | Description |
---|---|---|
DeletePermanently | Deletes the diagram permanently. | |
Modify | Dictionary of changes properties | Changes the provided properties of the diagram. Parameter is a dictionary containing the properties to be updated. Supported properties are:
Example: |
Function to get diagram by diagram id:
Function | Parameters | Description |
---|---|---|
DiagramById |
|
Returns diagram object corresponding to the provided diagram id. |