https://github.com/optimajet/workflow-server-callback-api-example
Workflow Server Callback API example .NET
https://github.com/optimajet/workflow-server-callback-api-example
api callback-api dotnet example workflow workflowengine
Last synced: 2 months ago
JSON representation
Workflow Server Callback API example .NET
- Host: GitHub
- URL: https://github.com/optimajet/workflow-server-callback-api-example
- Owner: optimajet
- Created: 2022-06-10T08:42:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-17T16:15:06.000Z (almost 3 years ago)
- Last Synced: 2025-02-03T23:56:43.040Z (4 months ago)
- Topics: api, callback-api, dotnet, example, workflow, workflowengine
- Language: C#
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Callback API Sample
This is a sample of a Web Api server for working with the WorkflowServer Callback API.
Callback API allows hosting your code of Actions, Conditions or Rules on third-party servers.
Callback server should be connected in the admin panel on the Callback API page.
More details on the [workflowserver.io](https://workflowserver.io/documentation/callback-api).## What's inside
- **ApiController** – controller that implements all possible requests from Callback API of WFS 3.0.0.
- **ActionProvider, ConditionProvider, IdentityProvider** – a sample of the implementation of API functions.
- **VacationRequest** is a schema that implements this API.## How to start
- Download, deploy and start WorkflowServer. More details on the [workflowserver.io](https://workflowserver.io/documentation/how-to-launch)
- Deploy and start this Web Api Server.
- Go to the WorkflowServer, in the sidebar go to "Api" -> "Callback API". Set up a connection properties to this API.
More details on the [workflowserver.io](https://workflowserver.io/documentation/callback-api)
- In the sidebar, go to "Workflow" -> "Scheme Management" -> "Create".
Create a scheme, name it "VacationRequest" and upload the `Schemes/VacationRequest.xml` file from API project to the Scheme.
- You can now test this sample with the WorkflowApi.
Just create an instance, you can change the initial parameters if you like. Use the Workflow API to execute commands.
Learn more about [workflowserver.io](https://workflowserver.io/documentation/workflow-api)