문제

I'am SharePoint 2013 beginner and i have a project where i need to create a workflow (With Visual Studio), so i started my workflow as flowchart workflow then at some point i needed to write custom code (like to get something from DB) but couldn't find anyway to do that (i can't call the class's functions), whereas in 2010's sequential workflow the wf already has a code behind class.

So my question is: Is there anyway i could call custom code like in sequential workflows !?

Note: I already added a class and tried to use "InvokeMethod" with it, but couldn't reach the class's functions.

도움이 되었습니까?

해결책

the only way to call some code is by using the HttpSend activity and call a custom webservice

다른 팁

As @Abdessamad TAHRI said, you cannot use code in Visual Studio for SharePoint 2013 workflows. Workflows are declarative now and you would need to expose whatever data you need from that database to a web service that you can call in the workflow.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top