diff --git a/solutions/UZHBFThesisPlatform.zip b/solutions/UZHBFThesisPlatform.zip index 03e3d29..99b1006 100644 Binary files a/solutions/UZHBFThesisPlatform.zip and b/solutions/UZHBFThesisPlatform.zip differ diff --git a/solutions/UZHBFThesisPlatform/Other/Solution.xml b/solutions/UZHBFThesisPlatform/Other/Solution.xml index 4893535..6487814 100644 --- a/solutions/UZHBFThesisPlatform/Other/Solution.xml +++ b/solutions/UZHBFThesisPlatform/Other/Solution.xml @@ -1,5 +1,5 @@  - + UZHBFThesisPlatform diff --git a/solutions/UZHBFThesisPlatform/Workflows/UZHBFThesisPlatform-ThesisApplicationAcceptance-7C987104-6984-EE11-8179-002248DB4B50.json b/solutions/UZHBFThesisPlatform/Workflows/UZHBFThesisPlatform-ThesisApplicationAcceptance-7C987104-6984-EE11-8179-002248DB4B50.json index d62c31e..0fe13e3 100644 --- a/solutions/UZHBFThesisPlatform/Workflows/UZHBFThesisPlatform-ThesisApplicationAcceptance-7C987104-6984-EE11-8179-002248DB4B50.json +++ b/solutions/UZHBFThesisPlatform/Workflows/UZHBFThesisPlatform-ThesisApplicationAcceptance-7C987104-6984-EE11-8179-002248DB4B50.json @@ -403,7 +403,7 @@ "parameters": { "emailMessage/To": "@triggerBody()?['applicantEmail']", "emailMessage/Subject": "@{parameters('Department (uzhbf_thesisplatform_department_env_var)')} Theses - Proposal Application Accepted", - "emailMessage/Body": "

Dear @{outputs('UpdateProposalApplicationAccepted')?['body/fullName']},
\n
\nYour application to the proposal \"@{outputs('UpdateProposalMatched')?['body/title']}\", was accepted.
\nKindly get in touch with your supervisor by replying to this email within one week.
\n
\nBest regards,
\n@{parameters('Department (uzhbf_thesisplatform_department_env_var)')} Thesis Coordinator

", + "emailMessage/Body": "

Dear @{outputs('UpdateProposalApplicationAccepted')?['body/fullName']},
\n
\nYour application to the proposal \"@{outputs('UpdateProposalMatched')?['body/title']}\", was accepted by @{outputs('UpdateUserProposalSupervisionStudentEmail')?['body/supervisorEmail']}.
\nKindly get in touch with your supervisor by replying to this email within one week.
\n
\nBest regards,
\n@{parameters('Department (uzhbf_thesisplatform_department_env_var)')} Thesis Coordinator

", "emailMessage/From": "@parameters('Outlook From Address (uzhbf_thesisplatform_outlook_from_address_env_var)')", "emailMessage/Cc": "@{parameters('Outlook Management Inbox (uzhbf_thesisplatform_thesis_inbox_env_var)')};@{outputs('UpdateUserProposalSupervisionStudentEmail')?['body/supervisorEmail']}", "emailMessage/ReplyTo": "@outputs('UpdateUserProposalSupervisionStudentEmail')?['body/supervisorEmail']", diff --git a/solutions/UZHBFThesisPlatform/Workflows/UZHBFThesisPlatform-ThesisProposalSubmission-D12D741B-A027-EE11-9966-000D3A8321BD.json b/solutions/UZHBFThesisPlatform/Workflows/UZHBFThesisPlatform-ThesisProposalSubmission-D12D741B-A027-EE11-9966-000D3A8321BD.json index f4192be..14b9c55 100644 --- a/solutions/UZHBFThesisPlatform/Workflows/UZHBFThesisPlatform-ThesisProposalSubmission-D12D741B-A027-EE11-9966-000D3A8321BD.json +++ b/solutions/UZHBFThesisPlatform/Workflows/UZHBFThesisPlatform-ThesisProposalSubmission-D12D741B-A027-EE11-9966-000D3A8321BD.json @@ -438,16 +438,17 @@ "server": "default", "database": "default", "table": "[main].[proposal]", - "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", - "item/description": "@outputs('GetResponseDetails')?['body/r7425856917f245efbd0c4cb2a7f0c434']", "item/id": "@variables('ProposalId')", + "item/title": "@outputs('GetResponseDetails')?['body/r7240915136fb41e8b884a045d08f39ce']", + "item/description": "@outputs('GetResponseDetails')?['body/r7425856917f245efbd0c4cb2a7f0c434']", "item/language": "@outputs('GetResponseDetails')?['body/r8b7f3f4a7502459598d155e9b31eb25e']", - "item/statusKey": "OPEN", "item/studyLevel": "@outputs('GetResponseDetails')?['body/rc797ecd1491b44a0ac091174abbac9f6']", - "item/title": "@outputs('GetResponseDetails')?['body/r7240915136fb41e8b884a045d08f39ce']", "item/topicAreaSlug": "@replace(toLower(variables('TopicArea')),' ','_')", "item/typeKey": "STUDENT", - "item/updatedAt": "@outputs('GetResponseDetails')?['body/submitDate']" + "item/statusKey": "OPEN", + "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", + "item/updatedAt": "@outputs('GetResponseDetails')?['body/submitDate']", + "item/additionalStudentComment": "@body('GetResponseDetails')?['r036f3f6320bc47e5b8c3694816ffe095']" }, "host": { "apiId": "/providers/Microsoft.PowerApps/apis/shared_azuremysql", @@ -471,15 +472,15 @@ "server": "default", "database": "default", "table": "[main].[proposalapplication]", - "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", - "item/email": "@outputs('GetResponseDetails')?['body/responder']", - "item/fullName": "@outputs('GetResponseDetails')?['body/r7844031f633e4dd49368b0c116ad148d']", "item/id": "@outputs('PersistProposalToDB')?['body/id']", + "item/statusKey": "OPEN", + "item/email": "@outputs('GetResponseDetails')?['body/responder']", "item/matriculationNumber": "@outputs('GetResponseDetails')?['body/r6c3b387342aa4bd0b5f423aa43662850']", - "item/motivation": "@outputs('GetResponseDetails')?['body/r60d760e8828645cc84d8fde2a6fe3b27']", + "item/fullName": "@outputs('GetResponseDetails')?['body/r7844031f633e4dd49368b0c116ad148d']", "item/plannedStartAt": "@outputs('GetResponseDetails')?['body/r837fec8c113c4851a217e947217c5b7f']", + "item/motivation": "@outputs('GetResponseDetails')?['body/r60d760e8828645cc84d8fde2a6fe3b27']", "item/proposalId": "@outputs('PersistProposalToDB')?['body/id']", - "item/statusKey": "OPEN", + "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", "item/updatedAt": "@outputs('GetResponseDetails')?['body/submitDate']" }, "host": { @@ -879,12 +880,12 @@ "server": "default", "database": "default", "table": "[main].[proposalattachment]", - "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", - "item/href": "@outputs('ShareLinkProposalFile')?['body/link/webUrl']", "item/id": "@{guid()}", "item/name": "Proposal", - "item/proposalId": "@variables('ProposalId')", + "item/href": "@outputs('ShareLinkProposalFile')?['body/link/webUrl']", "item/type": "@outputs('PersistProposalFile')?['body/MediaType']", + "item/proposalId": "@variables('ProposalId')", + "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", "item/updatedAt": "@outputs('GetResponseDetails')?['body/submitDate']" }, "host": { @@ -909,12 +910,12 @@ "server": "default", "database": "default", "table": "[main].[applicationattachment]", - "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", - "item/href": "@outputs('ShareLinkCVPDF')?['body/link/webUrl']", "item/id": "@{guid()}", "item/name": "CV", - "item/proposalApplicationId": "@outputs('PersistApplicationToDB')?['body/id']", + "item/href": "@outputs('ShareLinkCVPDF')?['body/link/webUrl']", "item/type": "@outputs('PersistCVPDF')?['body/MediaType']", + "item/proposalApplicationId": "@outputs('PersistApplicationToDB')?['body/id']", + "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", "item/updatedAt": "@outputs('GetResponseDetails')?['body/submitDate']" }, "host": { @@ -939,12 +940,12 @@ "server": "default", "database": "default", "table": "[main].[applicationattachment]", - "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", - "item/href": "@outputs('ShareLinkTranscriptPDF')?['body/link/webUrl']", "item/id": "@{guid()}", "item/name": "Transcript", - "item/proposalApplicationId": "@outputs('PersistApplicationToDB')?['body/id']", + "item/href": "@outputs('ShareLinkTranscriptPDF')?['body/link/webUrl']", "item/type": "@outputs('PersistTranscriptPDF')?['body/MediaType']", + "item/proposalApplicationId": "@outputs('PersistApplicationToDB')?['body/id']", + "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", "item/updatedAt": "@outputs('GetResponseDetails')?['body/submitDate']" }, "host": { @@ -1259,12 +1260,12 @@ "server": "default", "database": "default", "table": "[main].[applicationattachment]", - "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", - "item/href": "@outputs('ShareLinkAttachment')?['body/link/webUrl']", "item/id": "@{guid()}", "item/name": "Attachment", - "item/proposalApplicationId": "@outputs('PersistApplicationToDB')?['body/id']", + "item/href": "@outputs('ShareLinkAttachment')?['body/link/webUrl']", "item/type": "@outputs('PersistAdditionalFile')?['body/MediaType']", + "item/proposalApplicationId": "@outputs('PersistApplicationToDB')?['body/id']", + "item/createdAt": "@outputs('GetResponseDetails')?['body/submitDate']", "item/updatedAt": "@outputs('GetResponseDetails')?['body/submitDate']" }, "host": { diff --git a/solutions/UZHBFThesisPlatform_managed.zip b/solutions/UZHBFThesisPlatform_managed.zip index 6bdbfaa..878d2aa 100644 Binary files a/solutions/UZHBFThesisPlatform_managed.zip and b/solutions/UZHBFThesisPlatform_managed.zip differ