---
title: "JMWE Cloud: How to retrieve the transition details from a post-function"
canonical: "https://support.appfire.com/space/SUPPORT/1912602659/JMWE%20Cloud%3A%20How%20to%20retrieve%20the%20transition%20details%20from%20a%20post-function"
format: markdown
---
In some scenarios, it may be necessary to identify the transition that triggered a JMWE post function. For example, Shared actions can be used in multiple transitions, or multiple transitions can change the status of a work item from status A to status B.

## \uD83D\uDCD8 Instructions

The `transition` object can be used to retrieve transition details.

1. You can obtain the workflow details using either of the following snippets of Nunjucks code:
2. For the transition details:
3. For the statuses of the work item before and after the transition (**Note**: both of these are objects, as documented [here](https://appfire.atlassian.net/wiki/x/swe9Gw)) :

> ℹ️ Due to limitations with Jira APIs, the workflow and transition names are unavailable in Event-based Actions.

## \uD83D\uDCCB Related articles



> Macro (contentbylabel)