Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Customized field as a condition in a customized workflow

(0) ShareShare
ReportReport
Posted on by 660

We have customized a workflow for sales quotation and we have added a customized field on the sales quotation form.

We want to have a condition in the workflow on the customized field.

Can we add the same in the workflow?

*This post is locked for comments

  • Husna Yusuf Profile Picture
    Husna Yusuf 1,090 on at
    RE: Customized field as a condition in a customized workflow

    hi Masood,

    Would u tell me what is Workflow document Query?

    Is it a Query or Table or View or MAP or somthing kind of Set UP?

    and where can i found it?

    I made a custom on PurchAgreementHeader, i have add one field. but its doesnt show on Worfklow Design especially when u start to make some Conditional. The system just show me the standard AX fields of PurchAgreementHeader table.

    but let say i choose the wrong table, then i made a custom in AgreementHeader table, but still the system doesnt show me my custom field.

    thank u for your attention

  • binitshah Profile Picture
    binitshah 660 on at
    RE: Customized field as a condition in a customized workflow

    Dear Muhammad,

    Thank you for the help.

    It Worked.

  • Verified answer
    Muhamamd Masood Profile Picture
    Muhamamd Masood 55 on at
    RE: Customized field as a condition in a customized workflow

    Hi Binit,

    just add that custom fields in workflow document query, Generate incremental CIL, it will show in Workflow condition.

    For calculated values add method in workflow document class, Generate incremental CIL, it will show in Workflow condition.

    Hope it will be helpful.

    Regards,

  • Ali Zaidi Profile Picture
    Ali Zaidi 4,657 on at
    RE: Customized field as a condition in a customized workflow

    Yes, you can do this, Explore the Workflow approval Class, There you can add custom logic based on customized fields.  In this approval class you have reference rec id of record, you can done query on table and apply required logic on it.

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Customized field as a condition in a customized workflow

    Yeah this table is part of Document of this workflow.

    you can proceed to AOT query named as PSAProjQuotation, since fields are already set to dynamic, so I don't think any extra effort is needed here, you can use field directly in workflow as condition, after generating CIL. Also make sure your customized field has unique label, so you can identify it easily on Workflow configuration.

    Needless to repeat again, if we don't generate incremental CIL, sometimes new fields are not available on  workflow configuration.

  • binitshah Profile Picture
    binitshah 660 on at
    RE: Customized field as a condition in a customized workflow

    SalesQuotationTable

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Customized field as a condition in a customized workflow

    yes, you can use that field in workflow condition.

    in which table you have added that field?

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans