Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 801 Bytes

callback_extension.md

File metadata and controls

23 lines (14 loc) · 801 Bytes

Action Callback Extension

In this section, we will show you how to extend callback to action result.

Writing Callback Extension

Create a java file named JavaExtension.java locate in src/main/java/runflow, and writing the following content:

JavaExtension.java

Adding To Specification File

Add the following content to plugin-spec.yml:

action-result-callback-extensions:
  - service: runflow.JavaExtension
    name-bundle-id: Demo Extension

Read explanation of action result callback.

To validate the extension, you should follow our action tutorial to write a java action.