diff --git a/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/adding_widget_to_node.png b/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/adding_widget_to_node.png new file mode 100644 index 00000000..09f248f6 Binary files /dev/null and b/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/adding_widget_to_node.png differ diff --git a/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/create_new_widget_integration.png b/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/create_new_widget_integration.png new file mode 100644 index 00000000..82e9941b Binary files /dev/null and b/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/create_new_widget_integration.png differ diff --git a/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/index.md b/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/index.md index bb2605f5..74d713fb 100644 --- a/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/index.md +++ b/docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/index.md @@ -30,9 +30,14 @@ To define a workflow trigger the following information is needed: ## Integration -Once a trigger resources is defined, it can be attached to a Node Shape by using a special-purpose non-validating Property Shape resources. -Such property shapes use a `shui:provideWorkflowTrigger` statement to define, which workflow trigger are to be represented. -SHACL path statements on such Property Shape resources are meaningless and ignored, but may be provided. +A `shui:WidgetIntegration` shape element needs to be created from the previously defined workflow trigger. + +![](create_new_widget_integration.png) + + +Once the widget is created, it can be attached to a Node Shape by using a special-purpose non-validating [Widget property](../node-shapes#widgets). + +![](adding_widget_to_node.png) ## Payload Structure @@ -44,9 +49,11 @@ Workflow Payload ``` json { "graphIRI": "http://example.org/example-graph", - "resourceIRI": "http://example.org/example-graph/examle-resource" + "resourceIRI": "http://example.org/example-graph/example-resource" } ``` - `graphIRI` is the IRI of the graph that is currently viewed, and - `resourceIRI`is the IRI of the resource that is viewed. + +To make use of this dynamic payload, the underlying workflow should define variable input using [Replaceable Datasets](../../../../build/workflows#replaceable-datasets).