Flow Designer - Data pills for Catalog Tasks created after IF logic are grayed out

JR42
Giga Guru

Problem: Catalog Task data pills are grayed out if the Catalog Task was created under an IF logic.

Description: I have a number of catalog tasks that get created in my Flow.  Some of them are created under an IF logic that looks at a  catalog variable to determine if it is true or false.  If true, the catalog task gets created, if False, it does not get created.  This works perfectly.

Later in the flow, I want to utilize the data pills for the catalog tasks that were created under an IF logic, but they are all grayed out.  I want to create a Wait statement based on the State of the grayed out catalog task.

Catalog tasks that are created without an IF logic are not grayed out.

I've added a screenshot of the IF and Create Catalog Task portion, as well as how the data pills appear for the catalog tasks that are created under an IF logic.

Any tips or advice would be greatly appreciated! 

 

1 ACCEPTED SOLUTION

Geoff_T
Mega Sage

Hi,

I'm sure the reason the pill values are greyed out in this case is because the task may not have triggered. If it hasn't triggered there would be no pill values available.

Only the paths where the task will definitely run will allow the pill values to be utilized.

Are you able to re-design your flow a little so that the Wait statement you require resides inside that 'if' statement?

 

Geoff

View solution in original post

2 REPLIES 2

Geoff_T
Mega Sage

Hi,

I'm sure the reason the pill values are greyed out in this case is because the task may not have triggered. If it hasn't triggered there would be no pill values available.

Only the paths where the task will definitely run will allow the pill values to be utilized.

Are you able to re-design your flow a little so that the Wait statement you require resides inside that 'if' statement?

 

Geoff

Hi Geoff, I thought I found a solution...move the Create Catalog Task out from under the IF logic, create my wait condition using the Catalog Task pill, then move the Create Catalog action back to where it was under the IF logic.  The system let me do this and everything looked fine.

Problem now is that I can no longer test the flow.  I get the error below.  I'm sure it is because of the work around I used.  I will look into moving the wait condition into the IF logic.

 

Could not retrieve snapshot for testOpen Context Record
Could not retrieve snapshot for test:
com.glide.flow_trigger.engine.FlowSnapshotPlanRetriever.retrieve(FlowSnapshotPlanRetriever.java:41)
com.snc.process_flow.engine.serialization.PlanProxy.plan(PlanProxy.java:48)
com.snc.process_flow.engine.PFContext.init(PFContext.java:435)
com.snc.process_flow.engine.GlideProcessAutomation._init(GlideProcessAutomation.java:486)
com.snc.process_flow.engine.GlideProcessAutomation.runWithDomain(GlideProcessAutomation.java:235)
com.snc.process_flow.engine.GlideProcessAutomation.lambda$runAsUserSync$1(GlideProcessAutomation.java:215)
com.snc.process_flow.engine.PFSessionClone.run(PFSessionClone.java:59)
com.snc.process_flow.engine.GlidePFSession.runPlanAsUserSession(GlidePFSession.java:42)
com.snc.process_flow.engine.GlideProcessAutomation.runAsUserSync(GlideProcessAutomation.java:213)
com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(GlideProcessAutomation.java:277)
com.snc.process_flow.engine.GlideProcessAutomation._start(GlideProcessAutomation.java:454)
com.snc.process_flow.engine.GlideProcessAutomation.access$200(GlideProcessAutomation.java:80)
com.snc.process_flow.engine.GlideProcessAutomation$StartBuilder.start(GlideProcessAutomation.java:1038)
com.glide.flow_trigger.engine.TestButtonTriggerRunner.run(TestButtonTriggerRunner.java:234)
com.glide.flow_trigger.engine.TestButtonTriggerRunner.test(TestButtonTriggerRunner.java:238)
com.glide.flow.providers.FlowGlideProvider.testFlow(FlowGlideProvider.java:1409)
com.glide.flow_design.rest.FlowService.testRunFlow(FlowService.java:684)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:44)
com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:344)
com.glide.processors.AProcessor.runProcessor(AProcessor.java:596)
com.glide.processors.AProcessor.processTransaction(AProcessor.java:266)
com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:181)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:169)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:44)
com.glide.sys.Transaction.run(Transaction.java:2338)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)