---
title: "runFromAttachmentList"
canonical: "https://support.appfire.com/space/CSOAP/68456028/runFromAttachmentList"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458401)

> Macro (details)
> 
> | **Description** | Run actions for attachments that match the same conditions as getAttachmentList. @all can be used as a special value for the space parameter. |
> | --- | --- |
> | **Required Parameters** | ([cql](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457825) or [space](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459481) or [id](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454565)), ([input](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459521) or [common](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454810) or [file](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455055)) |
> | **Optional Parameters** | [title](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457665), [limit](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459009), [regex](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458942), [continue](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454987), [simulate](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458989), [field](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459567), [encoding](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458746), [clearFileBeforeAppend](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458229), [findReplace](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454887), [findReplaceRegex](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457861), [options](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459041) |
> | **Type** | [Run](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455033/Action+Types#ActionTypes-Run) |
> | **Category** | [Attachments](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455044/Action+Categories#ActionCategories-Attachments) |
> | **Output Formats** |  |
> | **Replacement Variables** | space, spaceName, title, contentId, contentUrl, pageId, blogId, attachment, attachmentId, attachmentUrl, attachmentVersion |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [runFromAttachmentList](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458176/Examples#Examples-runFromAttachmentList) |

## Related How To's

> Macro (cql-query)