web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Custom Workflow Error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index.

(0) ShareShare
ReportReport
Posted on by 15

Hello,

This "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name index" error popped up while trying to create a workflow type for a custom workflow. The workflow is to be added to an existing module. How can this be solved? Thank. 

I have the same question (0)
  • Komi Siabi Profile Picture
    13,107 Most Valuable Professional on at

    Hi MMAde,

    I haven't encountered such with custom workflow  before 

    Can you tell attach a screenshot of the error.

    Also the steps used in developing your custom workflow. 

  • MMAde Profile Picture
    15 on at

    Steps:

    1. Workflow query was created.

    2. Attempt was made at creating Workflow type, so, the error popped up.

    Note that workflow category was not created since the custom workflow was to be in already existing Module. The error still persist after ModuleAxpta was extended and workflow category was created.

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi MMAde,

    Can you share a screenshot of the workflow type with the properties and the exact error message?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans