Dialog Prompt and Response in custom step
-
woensdag 30 mei 2012 7:32
Hi,
Can any one tell me how I get dialog response(Prompt and response) in my custom workflow activity.
My scenario is :
1. open related entity record.
2. Start Dialog.
3. Prompt for some input from user.
4. Process that input in my code.(custom workflow Activity/Plugin).
5. Show the result to user.
sumit kumar
Alle reacties
-
woensdag 30 mei 2012 8:25Moderator
Hi Sumit,
What process you want to apply in that input ??, you could query CRM data based on the input value.
Mahain : Check My Blog
Follow me on Twitter
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question. -
donderdag 31 mei 2012 5:11
I want the code syntax by which I can access the user response value in my code.
suppose that in dialog first step Prompt for some information.
Now in the next step[my customized step : (c# assembly a .dll file like plugin or workflow)] I want user response(the value entered by user in the first step) in second step code.
I have to perform some calculations based on user's input.
I think now you can understand my purpose is clearly.
If you have any sample code to access user's input in C# code, Please share.
Thanks.
sumit kumar
-
donderdag 31 mei 2012 5:34Moderator
Hi Sumit,
Unfortunately you can not customize dialogs, so what I can think here you need to divide your business logic in two process, take input from user and store that in entity and then from entity pickup those values in your plugin/WF and work on that.
HTH
Mahain : Check My Blog
Follow me on Twitter
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.- Als antwoord voorgesteld door Philippe LEAL maandag 4 juni 2012 13:30