Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Workflow - add more InArgument input parameters

Posted on by Microsoft Employee

Hi ,

I can not add more parameters in custom workflow.

 [Input("Number of Days")]
 public InArgument<int> numberOfDays { get; set; }

 [Input("Account ID")]
 public InArgument<Guid> AccountID { get; set; }

First input parameter I have added and works well, but when I try to add second always get a error:

6471.workflow-1.png

I have unregistered and registered but without success.

Please help me..

Thanks in advance..

Kind regards
Martin


*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow - add more InArgument input parameters

    Hi,

    Thank you very much!

    Kind regards

    Martin

  • Verified answer
    Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: Workflow - add more InArgument input parameters

    you can't have GUID as type for InArgument (or OutArgument) if you want to point to a record, you should use EntityReference, if you need the GUID as value, then use string and inside your code convert it as GUID

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans