Current Context resolves to the Context on which an Action is performed. If you perform an Action in a Context which does not alter the visual state of the Context, you indicate the Destination with Current Context. As an example, most commonly, Validation Actions do not alter the state of a Context. Such Actions are represented by a self-loop in the Universe.
There is an important distinction to consider while choosing to use Current Context vs. explicitly providing the name of the Context on which the Action is defined. For an example, if you perform an Action in the Home Page which does not move your Application to a different Context, you have two choices for the Destination. “Home Page” or “Current Context”. When the Actions is shared across multiple Contexts, it may be called from any of the Sharee Context in the Scenario. In such cases, “Current Context” resolves to the actual Context on which the Action is exercised in the Scenario workflow. If you select “Home Page”, then the destination is hard coded to this in all situations. Depending on the Action behavior, one of these two choices must be carefully selected.
Comments
0 comments
Please sign in to leave a comment.