How to set a favourite in workflow - kwantu/platformconfiguration GitHub Wiki
Workflow action to set a favourite
There is a workflow action to set a favourite to a user
{
"_seq": 1,
"method": {
"generalFunctions": {
"addToFavourites": {
"context": <profile/subprofile/subprocess>,
"user": {
"indicator": {
"indicatorSetId": "desteaBusinessDetails",
"elementId": "userId"
}
}
}
}
},
"_id": "profileFav",
"description": {
"i18n": {
"en": "test",
"_id": ""
}
}
}
User to assign favourites to:
- Read the user value from an element in the data model
"user": {
"indicator": {
"indicatorSetId": "desteaBusinessDetails",
"elementId": "userId"
}
}
- Select the user assigned to a specific step
"user": {
"stepAssignedFromStep": {
"stepId": "xxxStepId"
}
}