Integration Suite | Action Queues | Use Cases | Archive references / Workflows
Customer requirement
Images are referenced to articles. As soon as an article is archived, the referenced images are also to be archived.
Solution (summary)
Action Queue for the referenced images in PIM
Filling another Action Queue for changing the workflow status
Required modules
SDZeCOM Rules+ (optional, recommended)
Procedure
Create the first “Default” action queue to retrieve the references. Note the following settings:
Record type: PIM Studio Products (Pdmarticle)
Filter: Status filter “Archived”
Posthandler: Enqueue references
Reference attribute: Reference attribute(s) to images
Queue type: Action
Destination Queue: Second Action Queue for changing the workflow status
Create the processing scripts for the first queue - either a SingleWorker or a combination of a Starter and a Worker.
Create the second “Execute workflowaction” action queue to retrieve the references. Note the following settings:
Record type: DAM Studio Files (Mamfile)
Filter: None
Create the processing scripts for the second queue - either a SingleWorker or a combination of a Starter and a Worker.
Run the processing scripts one after another, either using Run Next or Run Next With Pause.