Creating a simple 2-step Flow that creates an incident record in step one.

Step two sends an email to the sender of the email record from step 1, referencing the newly-created incident record.

Sometimes the customer wants this reference so the response can be watermarked.

Step two always fails with the error below whenever it references the incident record. However, when I remove the incident record reference, step two succeeds.

Running the flow as a system user does not make any difference in the outcome - always the same error.

Setting the Reply Record Type to Incident AND to just leave it blank - same error.

txid=35be2c53dbe4 SEVERE *** ERROR *** Flow Designer: Operation(Create Ticket Send Reply.35bee093dbe48450dba9d0b2ca9619bf.4b1241160b100300d97d8bf637673a6f) failed with error: com.snc.process_flow.exception.OpException: Email validation failed: Table record ID doesn't exist or ACL restricts retrieval: incident incident
at com.snc.process_flow.engine.Operation.execute(
at com.snc.process_flow.engine.ProcessEngine.executeOps(
at com.snc.process_flow.engine.GlideProcessAutomation.runSync(
at com.snc.process_flow.engine.GlideProcessAutomation.lambda$runAsUserSync$0(
at com.snc.process_flow.engine.GlidePFSession.runPlanAsUserSession(
at com.snc.process_flow.engine.GlideProcessAutomation.runAsUserSync(
at com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(
at com.snc.process_flow.engine.GlideProcessAutomation._start(
at com.snc.process_flow.engine.GlideProcessAutomation.access$400(
at com.snc.process_flow.engine.GlideProcessAutomation$StartBuilder.start(
at com.glide.flow_trigger.engine.TestButtonTriggerRunner.test(
at com.glide.flow.providers.FlowGlideProvider.testFlow(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.glide.processors.AProcessor.runProcessor(
at com.glide.processors.AProcessor.processTransaction(
at com.glide.processors.ProcessorRegistry.process0(
at com.glide.processors.ProcessorRegistry.process(
at com.glide.ui.GlideServletTransaction.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$


First part

  1. Create a custom action (RecordToID) to take the sys_id from an input record:
  2. Inputs: DocumentID reference to Incident table
  3. Add an empty script step (Actions require at least one step)
  4. Outputs: String
  5. Using the Fx button on the output, return the input record sys id

Second part

  1. In the target flow, add the RecordToID action after the Create Incident action and before the Send Email action.
  2. Add the incident as input to the RecordToID.
  3. Update the Send Email action by dragging the incident record onto the target record field (this is important to set the target table field).
  4. Click the Fx button on the target record field and return the output of the RecordToID action above.

Article Information

Last Updated:2020-01-13 01:00:38