The catalog item which is created by a flow (which is triggered by an event) doesn't have the stages

Oya Orhan
Giga Guru

Hi All,

My catalog item is being created by a Flow which is created with Flow Designer. The flow is triggered by an event. 

The flow is not a completed yet however it runs as expected. But It doesn't set the stages. 

See the screenshots please. 

 

 find_real_file.png

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

From my understanding, you only have stages based on 2 trigger types: record and catalog item.

See documentation for assistance: https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/concept/f...

Stage field and trigger types

Associating a flow to a stage field depends on the flow trigger type.

Flow trigger typeRequirements
Record

For a stage field to report stages on a record-based flow, a stage field must be present on the same table as the triggering record. When a flow has stages, Flow Designer communicates the status of each stage back to the triggering table and displays the current stage state as an icon. If more than one stage field exists on the table, only the first stage field defined in the table's dictionary definition is used.

Note: Avoid creating stages for multiple flows that trigger from the same table. A stage field only displays the stages of the final flow to run. Add different conditions to each flow to ensure that the stages of one flow do not overwrite another flow.
Service CatalogIf using the Service Catalog trigger, the flow must be associated with the Service Catalog item through the Flow field. Remove any workflows associated with the item by clearing the Workflow and Execution Plan fields. The Stage field displays the current stage state on any list view of the Requested Items [sc_req_item] table.

So for your method here, you're using an event trigger to order a catalog item, but it's not the trigger. You could try associating this flow to the flow field within the catalog item settings...or...you may need to create a subflow for catalog item and use that instead.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

2 REPLIES 2

Allen Andreas
Administrator
Administrator

Hi,

From my understanding, you only have stages based on 2 trigger types: record and catalog item.

See documentation for assistance: https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/concept/f...

Stage field and trigger types

Associating a flow to a stage field depends on the flow trigger type.

Flow trigger typeRequirements
Record

For a stage field to report stages on a record-based flow, a stage field must be present on the same table as the triggering record. When a flow has stages, Flow Designer communicates the status of each stage back to the triggering table and displays the current stage state as an icon. If more than one stage field exists on the table, only the first stage field defined in the table's dictionary definition is used.

Note: Avoid creating stages for multiple flows that trigger from the same table. A stage field only displays the stages of the final flow to run. Add different conditions to each flow to ensure that the stages of one flow do not overwrite another flow.
Service CatalogIf using the Service Catalog trigger, the flow must be associated with the Service Catalog item through the Flow field. Remove any workflows associated with the item by clearing the Workflow and Execution Plan fields. The Stage field displays the current stage state on any list view of the Requested Items [sc_req_item] table.

So for your method here, you're using an event trigger to order a catalog item, but it's not the trigger. You could try associating this flow to the flow field within the catalog item settings...or...you may need to create a subflow for catalog item and use that instead.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Oya Orhan
Giga Guru

Thanks Allan.