Workflow run failed: the project value is larger than the maximum

Updated

Applies to: Workflows that create projects and set a project value

A workflow run failed, and its error says the project value is too large. When this happens, no project is created for that record. Here's what causes it and how to get the project created.

Why it happens

A project value can't be larger than 9,999,999,999.99. OnRamp rounds the value to cents first, so a value of 9,999,999,999.995 or more is too large. The same limit applies to negative values: -9,999,999,999.995 or less is also too large.

When the Project Value step gets a value outside this limit, the workflow stops. The run is marked as errored, and no project is created.

In the run's step results, Error Message shows:

The project value (<amount>) is larger than the maximum of 9,999,999,999.99 that a project value can hold. Fix the value in the trigger object or the Project Value step, then run the workflow again.

The same step can fail with two related messages:

  • The project value is not a number. Fix the value in the trigger object or the Project Value step, then run the workflow again.

  • The project value must be a finite number. This appears for a value such as infinity.

A blank project value doesn't fail the run. The project is created without a value. A value of 0 is kept as 0.

Fix it

Where the value comes from depends on the mode set in the workflow's Project Value step: From trigger object or Fixed.

  1. Open the workflow and check which mode its Project Value step uses.

  2. Correct the value:

    • If the step uses From trigger object, the value comes from the field selected under Link External field to Project Value. That list only offers number and percentage fields. Correct that field's value on the CRM record.

    • If the step uses Fixed, the run uses the amount entered in the step's Project Value box. Enter an amount of 9,999,999,999.99 or less there, then publish the workflow. A re-run uses the workflow's current published version, so an unpublished change doesn't apply.

  3. Open the failed run and select Re-run. To find the run, see Workflow didn't create a project. You see Re-run only if you have permission to publish workflows. If you don't see it, ask someone who can publish workflows.

  4. In the Re-run workflow? dialog, select Re-run workflow. The dialog reminds you: "This run errored. Make sure the error is corrected before re-running."

Re-running creates a new run, tracked separately from the failed one. It picks up the corrected value from the CRM record. When the new run succeeds, the project is created with the corrected value. If the workflow is paused, the re-run fails, so resume the workflow first. For the full rules on re-running, see Re-run a workflow run.

The workflow's failure-alert recipients get an email when a run fails, at most one per workflow per hour. Test runs don't send these alerts.

Still stuck?

Contact support with the workflow's name, a link to the failed run, the time it ran, and a link to the CRM record that triggered it.

More in Troubleshooting