Replies: 11 comments
-
Maybe the ContentItem is not in the input try
If you are trying to redirect back to a form location. In OC 1.8 we have a new task that would allow you to redirect the user back to where the form was originated from. |
Beta Was this translation helpful? Give feedback.
-
Hi MikeAlayek, |
Beta Was this translation helpful? Give feedback.
-
Hi, {{ Workflow.ContentItem | display_url }} throw exception, Workflow.ContentItem is null |
Beta Was this translation helpful? Give feedback.
-
Then What event are you using to start your workflow? |
Beta Was this translation helpful? Give feedback.
-
I used Http Request Event to start my workflow. {{ Workflow.Input.ContentItem | display_url }} render nothing. |
Beta Was this translation helpful? Give feedback.
-
I think that is what you are doing wrong. I think for ContentItem to exists, you'll need to add a content item event like Created, updated or published content |
Beta Was this translation helpful? Give feedback.
-
If I want to use Http Request Event to start my workflow and want to ContentItem to exists, What should I do,please? |
Beta Was this translation helpful? Give feedback.
-
What is the logic that you are trying to handle in workflow? |
Beta Was this translation helpful? Give feedback.
-
I'll submit the form of the ContentItem display page to trigger workflow, then it redirect to {{ Workflow.Input.ContentItem | display_url }} in the last activity "http redirect task" of workflow. |
Beta Was this translation helpful? Give feedback.
-
Your workflow doesn't seem to be initiated by content items, so there's no input inside. Can I take a look at your workflow page? I need to know more information to assist you. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi,
How can I fill out url field with display_url in http redirect task of workflow,please?
{{ Workflow.Input.ContentItem | display_url }} is not correct.
Beta Was this translation helpful? Give feedback.
All reactions