Skip to content

Email notification subject submission status not updated correctly #202

@karthikkstar

Description

@karthikkstar

Describe the bug

Email notification subject submission status not updated correctly

SUBJECT: Your submission for "{{ submission.owner.title }}" has been {{ submission.status }}

The issue occurred only when the submission was approved or rejected the status was always "pending" on the following pages.
admin/workflow/submissions/edit/{submission_id}?site=australia ->On this page, when clicking "Save"
admin/workflow?site=australia&source=*&status=pending ->On this page, when clicking "set status"

image

Its working correctly on the entry page.
image

The email templates do not update the submission.status variable.

Thank you

Steps to reproduce

  1. Submit one workflow submission and approve or reject it from the submission listing or submission edit page. You will receive the wrong submission in the email notification.

Craft CMS version

4.6.1

Plugin version

2.0.8

Multi-site?

Yes

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions