Exit custom C# CRM Workflow back into designer workflow -


i'm developing few custom crm workflows, , of them require e-mails sent. far i'm aware, can't done through code. achieve - run custom code, , depending on happens during code, i.e. timeout exception web service throws exception or validation error occurs said web service, workflow either retry or send email out.

so, using above example, custom workflow run when crm field changes. workflow calls web service, times out. workflow picks timeoutexception, , adds step retry workflow. workflow restarts, , throws argumentexception. workflow picks exception, , sets field in form. (i understand can done in code, example, wish use functionality many areas in many workflows!)

the way thought of have new field on form called workflow action, have workflow detect changes, , custom code changes field. workflow knows status has changed , behaves accordingly.

thanks.

plusheen,

you can set output parameter in custom code based on requirement , access in next step in out of box workflow designer. use condition expression in designer check output , want based on result custom code.

hope looking for. let me know if need more information.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -