Skip to content
Hunting Down a Broken Data Pill in ServiceNow Flow Designer

Hunting Down a Broken Data Pill in ServiceNow Flow Designer

November 10, 2026·
Konner Lester

I hit an error in ServiceNow’s Flow Designer that tells you almost nothing. When you click Test or Activate, ServiceNow would give me this:

Invalid pharmacy compound uuid: c41e7a92-5d3b-4f08-9a16-7be2d0f1a3c5. A version was not created due to the error.

It doesn’t give a step or field name just this uuid. If you search this error, the first hit is probably this ServiceNow Community thread which explains this as an error with a data pill being corrupt and advices to delete actions until the flow publishes.

That works, but it’s slow and tedious. Plus, you lose the steps you were trying to keep. The metheod I found will find the exact action, so you only have to mess with the one that’s broken.

The Error Message

At first glace the UUID that is exposed seems like a sysid however, if you carfully look at the string it is not in the standard 32 character format that you might have come to expect with sysids in ServiceNow. The UUID is a reference stored somewhere in the flow definition, which means you can search for it. The only trick is getting at the flow’s raw data. The easist way to do that is to use the browser’s dev tools and look at the network traffic when you hit Activate.

Pull the Flow JSON from an Inspect

When you hit Activate, the browser sends the whole flow to ServiceNow as JSON. This means we can inspect the package and find the broken reference.

  1. Open the flow in Workflow Studio, then open dev tools (F12) and go to the Network tab.
  2. Click Activate.
  3. In the DevTools Network tab, do a Ctrl+F search for c41e7a92-5d3b-4f08-9a16-7be2d0f1a3c5 (or whatever UUID your error shows).

The match will look something like this. The strucure and values will be different for you because this depends on the properties of the your flow action.

{
  "id": "9f2c41d8e07b11ee8a3c5a4b1d6e0f27",
  "name": "values",
  "value": "start_date={{fd_transform:c41e7a92-5d3b-4f08-9a16-7be2d0f1a3c5}}^loan_term_months={{7d3a95e1-62bc-4a0e-8f14-d9e5b3a7c102.item.term_months}}^end_date={{fd_transform:2f8b60d4-91ac-4e57-b3d8-04a9c6e71f2b}}"
}

In mine you can see it is setting some sort of field or conditional value for something called start_date, loan_term_months, and end_date.

  • start_date={{fd_transform:c41e7a92-...}} is a pill transform, meaning a formula applied to a pill, like a date calculation. The field only stores a pointer to the transform by UUID.
  • loan_term_months={{7d3a95e1-....item.term_months}} is a normal data pill. It reads term_months from the current item of a For Each loop.
  • end_date={{fd_transform:2f8b60d4-...}} is another transform pointer.

The UUID in the error matches the first transform. I can’t say exactly why ServiceNow couldn’t resolve it. A copied step or a deleted or reordered step the transform depended on are the likely causes. Either way, the field points at a transform that’s no longer valid.

Finding the step in the UI

The match sits inside a larger object. Scroll up in the payload from your match and look for these fields on the parent:

  • order matches the step number on the left side of the flow. Mine was 7, and step 7 in the UI was the one that failed.
  • comment matches the annotation you add to a step. If you write comments on your steps, this is the quickest way to confirm you’ve got the right one.

The full thing might look like this (there are other fields, but these are the ones that help you find the step in the UI):

{
  {
    "order": "7",
    "comment": "Synchronize start and end dates from MyCSI to ensure ServiceNow lease timelines match the lessor's records.",
    "inputs": [
        {
            "id": "4ed01916c31332002841b63b12d3aee1",
            "name": "record",
            "value": "{{a0924f48-0f6a-48a4-8555-5b7e1a1e1376.Record}}",
        }
}

In the UI, I opened step 7 and the field labels matched. The two transform pills showed up as raw {{fd_transform:...}} text instead of a clean pill with a function.

Fixing it

Clear the field that holds the broken transform and rebuild its value from scratch. That means picking the pill and re-adding the function. Then Publish again.

Last updated on