Solved

CRM 2011 - Running workflow in different clients view

Posted on 2012-03-09
8
443 Views
Last Modified: 2012-03-20
I have a workflow under client entity,  I would like the execution go through  different logical path within the workflow depending on which client view I initiated from?
0
Comment
Question by:tommym121
  • 4
  • 4
8 Comments
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 37703031
Hi tommym121,

What do you mean by "Client View"?
Is it a field on the entity or we are talking about CRM Views?

Regards,
Chinmay.
0
 

Author Comment

by:tommym121
ID: 37707292
Yes, I am talking on CRM View of Client Entities
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 37707474
I am afraid that there is no straight forward way to achieve this.
Let me just re-phrase the question, let me know if I got it right.

User will select a CRM View and then select few records on a given page and run a workflow on them manually.

Your workflow should be able to determine which view was selected when these workflow was called and then based on the view your workflow will execute different steps.

Is this what you are trying to achieve?

Regards,
Chinmay.
0
 

Author Comment

by:tommym121
ID: 37715677
Chinmay,

Yes, you are right.  That is what I am try to do.  Sorry not being cleared in my question.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 37715729
I am sorry but I don't think this can be done by any means that one might conisder straight-forward.

Could you tell me what is the exact requirement here? I *might* be able to suggest better solution.
0
 

Author Comment

by:tommym121
ID: 37742295
I have create a view for 30 days past overdue account, another view for 60 days past overdue.
 I will like the workflow to aware which view I am on to execute different logic path.
For 30 days, I like to send out the email to the account manager, For 60 days overdue, I like to send out a email both to account manager and supervisor.
0
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 500 total points
ID: 37743373
Hi tommym121,

It is not possible to achieve with CRM OOB features.
Would you like to try a solution based on SDK - I might be able to suggest C# or JavaScript to achieve this.

Basically, you get the fetchxml and then execute it to get the record ids and then you can use ExecuteWorkflowRequest : http://msdn.microsoft.com/en-us/library/cc155961.aspx
accordingly.

Let me know if you need more clarification on the same.

Regards,
Chinmay.
0
 

Author Closing Comment

by:tommym121
ID: 37745729
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now