-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
ConfigConfiguration onlyConfiguration only
Milestone
Description
Use the Sample Template as base, but update the IncrementStage to check for partial Consolidation and not move to the next Stage in case not all elements have been reviewed. The Action should have the following condition:
Core-action: IncrementStage (ON_REVIEW_SUBMIT)
description: CORE-ACTION Increment stage of application when last level reviewer submits review with decision of CONFORM or NON_CONFORM change to: CORE-ACTION Increment stage of application when last level reviewer submits decision of CONFORM. Checks also for Fully approved - in case of partial Consolidation (should only move on after fully approved)
Condition:
{
"operator": "AND",
"children": [
{
"operator": "AND",
"children": [
{
"operator": "=",
"children": [
{
"operator": "objectProperties",
"children": [
"applicationData.reviewData.latestDecision.decision"
]
},
"CONFORM"
]
},
{
"operator": "=",
"children": [
{
"operator": "graphQL",
"type": "string",
"children": [
"query approvedAssignedQuestionsCount(\n $appId: Int!\n $stageId: Int!\n $levelNumber: Int!\n) {\n assignedQuestions(\n appId: $appId\n stageId: $stageId\n levelNumber: $levelNumber\n filter: {\n or: [{ decision: { equalTo: APPROVE } }, { decision: { equalTo: AGREE } }]\n }\n ) {\n totalCount\n }\n}",
"graphqlendpoint",
[
"appId",
"stageId",
"levelNumber"
],
{
"operator": "objectProperties",
"children": [
"applicationData.applicationId",
null
]
},
{
"operator": "objectProperties",
"children": [
"applicationData.stageId",
null
]
},
{
"operator": "objectProperties",
"children": [
"applicationData.reviewData.levelNumber",
null
]
},
"assignedQuestions.totalCount"
]
},
{
"operator": "graphQL",
"children": [
"query reviewableQuestionsCount($appId: Int!) {\n reviewableQuestionsCount(\n appId: $appId\n )\n}",
"graphqlendpoint",
[
"appId"
],
{
"operator": "objectProperties",
"children": [
"applicationData.applicationId",
null
]
},
"reviewableQuestionsCount"
]
}
]
}
]
},
{
"operator": "=",
"children": [
{
"operator": "objectProperties",
"children": [
"applicationData.reviewData.isLastLevel",
null
]
},
true
]
}
]
}Metadata
Metadata
Assignees
Labels
ConfigConfiguration onlyConfiguration only