Asset Builder + Workflow + Trigger


(Paul Hutchins) #1

Matrix Version: 6.20.2

Hi,

We have an asset builder that creates a data record in a folder.

This folder has a workflow schema applied to it. When users create a data record the below status change trigger works, but when a user who is also in the workflow approval group creates a data record the status will only go to ‘Under Construction’.

I’ve created a trigger in an attempt to set the status to ‘pending approval’ to kick off workflow but it fails when I try and use the event ‘Asset Created’, but it will run if I have the condition set to ‘After Asset is built’.

Trigger structure:
Event:
Asset Created (Fails)
After Asset is built (Works)
Conditions:
Asset is of type: Data Record
Tree Location: Folder (Same folder that the asset builder is set to create in)
Actions:
Set Status - Ignore permissions - Pending Approval

In the asset builder I have the Create Status set to - Do not change status.
In the workflow schema I have Allow Admin Users to Bypass Workflow switched off.

Any advice would be great. I’m a little confused as to why the status won’t set to ‘Pending Approval’ because a user who created it is also in the workflow approval group?

Cheers,

Paul