As with other data models, there are two ways you can retrieve SkyVault Content Services folder entities and use them in a process or decision table.
-
Using the form field to data model mapping
Using the form field to data model mapping property in a start or user task to map the form fields to to the models attributes. Follow the same process described in Using data model in your processes.
-
Using variables obtained from Stored Entity tasks
When creating or updating folder entities, the entity can be stored in a variable.
Note: MyF and GetMyFolder were the examples in Creating folder entities and Updating folder entities.These variables can then be used in the process expressions and parameters, forms, or decision tables. To use a variable in a form:
- Extend the example you created in Updating folder entities by adding a User Task action.
-
Create a new form display folder.
- From the form control toolbox drag and drop a Display Value field.
-
Use the field configuration to select the variable.
Note: The myGetFolder variable is an object with all the model attributes listed.
-
Select a Name and Description.
- Click Save.
- Save the process then publish and deploy the application.
-
Create a new process and then create
folder entities and update folder
entities.
After updating the folder entity a new task is created which uses the Display Folder name to show the entity attributes.