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

Community site session details

Session Id :
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

I have the same question (0)
  • Sohaib Cheema Profile Picture
    48,760 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?

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

    SalesQuotationTable

  • Sohaib Cheema Profile Picture
    48,760 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.

  • Ali Zaidi Profile Picture
    4,655 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.

  • Verified answer
    Muhamamd Masood Profile Picture
    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,

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

    Dear Muhammad,

    Thank you for the help.

    It Worked.

  • Husna Yusuf Profile Picture
    1,094 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

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans