Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Workflows, business process flow and dialogues: Theory and practice.

(1) ShareShare
ReportReport
Posted on by 170

Hello!

1- I was trying to update a field value in a business process flow (such as sales process) using a workflow. I do not want to update the process phase, but rather a single field value within. Is that possible without JS? If yes, how?

2- I learned that it is not possible to create prompt warning messages using workflows. Dialogues could've done the job but they can be activated only manually by the user which disqualifies them for this task. What are the alternatives to create prompt messages without JS? 

Thank you.

*This post is locked for comments

  • Hikmat Daghestani Profile Picture
    Hikmat Daghestani 170 on at
    RE: Workflows, business process flow and dialogues: Theory and practice.

    Hi Alex,

    #1- I tried workflows, I couldn't find the field in the process line, only fields in the entity form. Business rules work only within a singel entity, they don't work between two entities. To clear up exactly what I want:

    Sales business process contains a field_1 which must be marked as "closed" in order to be able to go to the next process stage.

    Once field_1 is marked as "closed", another field_2 in the entity form will be marked as "business required".

    field_1 is usually marked by the user as "closed" after a quote record is created by the user.

    field_2 will contain the name of the mentioned created quote. So it's like a one-time loop, I don't want to allow the user to ignore filling field_2 so I wanted to create a workflow that would be activated once a quote is created, this workflow will fill field_2 with the quote's name and mark field_1 as "closed". Once field_1 is marked as "closed", an active business rule will take effect and a lovely red asterisk  will appear above field_2 which will prevent the user from leaving it empty.

    So, field_1 belongs to the business process stage and field_2 belongs to the entity. Field_1 does not appear if I open form editing mode. 

    The idea is a bit complex, I hope I made it clear enough.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Workflows, business process flow and dialogues: Theory and practice.

    Hi Hikmat,

    For #1 - those fields are just fields.. Why doesn't it work with a workflow? Unless you want them to be updated without reloading the form. Did you try business rules?

    msdn.microsoft.com/.../mt639372.aspx

    For #2 - if you are looking for prompts, it's probably JS. Have a look at the notifications, though:

    www.powerobjects.com/.../dynamics-crm-alert-and-notification-javascript-methods

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans