Can I create a flowable workflow with C# code for script and service task? Is that possible? please help!

Hi,

I am new to Flowable. I want to create a workflow which would call a wcf service and perform the operation, based on the outcome, it would decide to go to the next task. Can I write code in C# in Script or Service task. Kindly help on this!

Thanks,
Esther.

So if you want to call a REST API, process the response and do something based on that data, you don’t need to code anything. You’d model and configure that in BPMN. Once you want to do custom logic however, you will have to code (either in Java or Groovy/Javascript script. C# is not supported). Alternatively, you could use something like the external worker task https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#external-worker-task to write your logic in C# and interact with the engine over REST using the external worker concept.