Hi There,
I set this trigger in the markup so that when the page is created, the approver is also specified, but when the page is created in space, no one is assigned the approval.
this is my Markup code, any Idea?
{workflow:name=Simple Approval|key=spaceworkflow-1119345224}
{description}
In a Simple Approval Workflow, a page's state can be for 'Review', 'Approved', or 'Rejected'. Only 'Approved' pages are visible to Read-Only users.
{description}
{pageheader}
||Owner|@creator@|
{pageheader}
{workflowparameter:Approver 1|type=user}
admin
{workflowparameter}
{workflowparameter:Approver 2|type=user}
K.Sh
{workflowparameter}
{workflowparameter:Creator Group A|type=group}
Comfort
{workflowparameter}
{workflowparameter:Creator Group B|type=group}
PMT
{workflowparameter}
{state:Editing|approved=Approved|rejected=Rejected|taskable=true}
{approval:Technical|user=@Approver@|exclude=@creator@}
{state}
{state:Approved|final=true|updated=Editing}
{state}
{state:Rejected|updated=Editing|taskable=true|colour=#FF5630}
{approval: Design}
{state}
{trigger:pageapproved|approval=Editing|partial=true}
{send-email:user=@creator@|Subject=Your recent Review Group approval}
Your Page Has Been Approved By @approvalassignees@@
{send-email}
{trigger}
{trigger:pagecreated|group=@Creator Group A@}
{set-metadata:Approver}@Approver 1@{set-metadata}
{trigger}
{trigger:pagecreated|group=@Creator Group B@}
{set-metadata:Approver}@Approver 2@{set-metadata}
{trigger}
{workflow}