Make data dynamic in workflow view. Add requester and startDate to workflows.

This commit is contained in:
Joao Correia
2025-01-24 14:14:07 +00:00
parent f6b0c96b3b
commit 41d09eaad8
10 changed files with 207 additions and 107 deletions

View File

@@ -7,64 +7,61 @@
"reading",
"writing"
],
"requester": "ffdIipRyXTRmm10Sq2eg7P97rLB2",
"startDate": 1737712243906,
"status": "pending",
"steps": [
{
"stepType": "form-intake",
"stepNumber": 1,
"completed": true,
"completedBy": "Prof. X",
"completedBy": "231c84b2-a65a-49a9-803c-c664d84b13e0",
"assignees": [
"Prof. X",
"Prof. Y",
"Prof. Z"
],
"assigneesType": "teacher"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
},
{
"stepType": "approval-by",
"stepNumber": 2,
"completed": true,
"completedBy": "Prof. Y",
"completedBy": "c5fc1514-1a94-4f8c-a046-a62099097a50",
"assignees": [
"Prof. X",
"Prof. Y",
"Prof. Z"
],
"assigneesType": "teacher"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
},
{
"stepType": "approval-by",
"stepNumber": 3,
"completed": false,
"assignees": [
"Prof. X",
"Prof. Y",
"Prof. Z"
],
"assigneesType": "teacher"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
},
{
"stepType": "approval-by",
"stepNumber": 4,
"completed": false,
"assignees": [
"Prof. X",
"Prof. Y",
"Prof. Z"
],
"assigneesType": "teacher"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
},
{
"stepType": "approval-by",
"stepNumber": 5,
"completed": false,
"assignees": [
"Dir. X",
"Dir. Y",
"Dir. Z"
],
"assigneesType": "corporate"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
}
]
},
@@ -79,67 +76,64 @@
"speaking",
"listening"
],
"requester": "231c84b2-a65a-49a9-803c-c664d84b13e0",
"startDate": 1737712243906,
"status": "approved",
"steps": [
{
"stepType": "form-intake",
"stepNumber": 1,
"completed": true,
"completedBy": "Prof. X",
"completedBy": "fd5fce42-4bcc-4150-a143-b484e750b265",
"assignees": [
"Prof. X",
"Prof. Y",
"Prof. Z"
],
"assigneesType": "teacher"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
},
{
"stepType": "approval-by",
"stepNumber": 2,
"completed": true,
"completedBy": "Prof. Y",
"completedBy": "231c84b2-a65a-49a9-803c-c664d84b13e0",
"assignees": [
"Prof. X",
"Prof. Y",
"Prof. Z"
],
"assigneesType": "teacher"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
},
{
"stepType": "approval-by",
"stepNumber": 3,
"completed": true,
"completedBy": "Prof. Y",
"completedBy": "231c84b2-a65a-49a9-803c-c664d84b13e0",
"assignees": [
"Prof. X",
"Prof. Y",
"Prof. Z"
],
"assigneesType": "teacher"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
},
{
"stepType": "approval-by",
"stepNumber": 4,
"completed": true,
"completedBy": "Prof. Y",
"completedBy": "231c84b2-a65a-49a9-803c-c664d84b13e0",
"assignees": [
"Prof. X",
"Prof. Y",
"Prof. Z"
],
"assigneesType": "teacher"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
},
{
"stepType": "approval-by",
"stepNumber": 5,
"completed": true,
"completedBy": "Prof. Y",
"completedBy": "c5fc1514-1a94-4f8c-a046-a62099097a50",
"assignees": [
"Dir. X",
"Dir. Y",
"Dir. Z"
],
"assigneesType": "corporate"
"fd5fce42-4bcc-4150-a143-b484e750b265",
"231c84b2-a65a-49a9-803c-c664d84b13e0",
"c5fc1514-1a94-4f8c-a046-a62099097a50"
]
}
]
}