---
title: "Post-functions seem to be running in no apparent order"
canonical: "https://support.appfire.com/space/JMWEC/465373204/Post-functions%20seem%20to%20be%20running%20in%20no%20apparent%20order"
format: markdown
---
> Macro (aura-html)

## Problem

> Macro (excerpt)
> 
> I have configured several JMWE post-functions on a single transition, in a specific order, but the post-functions seem to be running in a different order when I trigger the transition.
> 
> This can be a problem in certain cases. For example, if one post-function copies the "Affects Version/s" field from the parent issue of the subtask being transitioned, and then a second post-function copies the "Affects Version/s" field of that subtask to the "Fix Version/s" field, it will not work if the execution order of the two post-functions is reversed.

## Solution

Due to the way non-native post functions (those provided by add-ons) are implemented in JIRA Cloud, it is not possible to guarantee the order in which post functions will be executed. Therefore, if your workflow incorporates post-functions provided by the JMWE add-on, you should ensure that your workflows do not depend on post-functions being executed in a specific order.

## Workaround

To enforce a predictable execution order of a set of post-functions, you should put them inside a [Sequence of post-functions](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466322933) post-function or a [Shared Action](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466288975).

Alternatively, you can use the [Delayed execution](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466322009) option provided in the post-function configuration to delay the execution of the post-function by a selected number of seconds, thereby creating a more predictable execution order. But this approach is much less reliable than using a [Sequence of post-functions](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466322933) post-function.

## Related articles

> Macro (contentbylabel)

> Macro (details)
> 
> | Related issues |  |
> | --- | --- |