Skip to main content
Skip table of contents

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

Procedure

  1. Create the first “Default” action queue to retrieve the references. Note the following settings:

    1. Record type: PIM Studio Products (Pdmarticle)

    2. Processor plug-in: Default

    3. Filter: Status filter “Archived”

    4. Posthandler: Enqueue references

      • Reference attribute: Reference attribute(s) to images

      • Queue type: Action

      • Destination Queue: Second Action Queue for changing the workflow status

  2. Create the processing scripts for the first queue - either a SingleWorker or a combination of a Starter and a Worker.

  3. Create the second “Execute workflowaction” action queue to retrieve the references. Note the following settings:

    1. Record type: DAM Studio Files (Mamfile)

    2. Processor plug-in: Execute workflowaction

    3. Filter: None

  4. Create the processing scripts for the second queue - either a SingleWorker or a combination of a Starter and a Worker.

  5. Run the processing scripts one after another, either using Run Next or Run Next With Pause.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.