Question

Photo of Jeff Surcess

0

Workflow.Id returns zero from within workflow

Hi,

I'm building links with Lava within Workflow email notifications and this is one example:

{{ 'Global' | Attribute:'InternalApplicationRoot' }}WorkflowLaunch/{{ Workflow.Id }}/{{ Workflow.Guid }}

The only one that doesn't work is the Workflow.Id, which returns zero.  It should be 24 as shown for the workflow in Workflow Configuration.

 24.png

Thanks,

Jeff Surcess


  • Photo of Jeff Surcess

    0

    Thanks Luke,

    That set me on the right track.  The correct segments are:

    /WorkflowLaunch/{{ Workflow.WorkflowType.Id }}/{{ Workflow.Guid }}

    Cheers,

    Jeff Surcess


  • Photo of Luke Taylor

    0

    Jeff, 
    I'm going to make a quick assumption here - when you're seeing that Id: 24, that's for your workflow type - the whole template that describes how each workflow instance launched from there should behave.

    A larger screenshot would be helpful to disambiguate that.
    You might be looking for /WorkflowLaunch/{{WorkflowType.Id}}/{{Workflow.Guid}}, which at least is the page route.