Skip to content

Commit 56fe181

Browse files
authored
Merge pull request #226 from adelahaye-ecc/update/worflow_trigger_deprecated_doc
Replace deprecated usage of property shape for workflow trigger
2 parents 802df09 + 6e3e5bc commit 56fe181

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

25.4 KB
Loading
63.4 KB
Loading

docs/explore-and-author/graph-exploration/building-a-customized-user-interface/workflow-trigger/index.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ To define a workflow trigger the following information is needed:
3030

3131
## Integration
3232

33-
Once a trigger resources is defined, it can be attached to a Node Shape by using a special-purpose non-validating Property Shape resources.
34-
Such property shapes use a `shui:provideWorkflowTrigger` statement to define, which workflow trigger are to be represented.
35-
SHACL path statements on such Property Shape resources are meaningless and ignored, but may be provided.
33+
A `shui:WidgetIntegration` resource needs to be created from the previously defined workflow trigger.
34+
35+
![](create_new_widget_integration.png)
36+
37+
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).
38+
39+
![](adding_widget_to_node.png)
3640

3741
## Payload Structure
3842

@@ -44,9 +48,11 @@ Workflow Payload
4448
``` json
4549
{
4650
"graphIRI": "http://example.org/example-graph",
47-
"resourceIRI": "http://example.org/example-graph/examle-resource"
51+
"resourceIRI": "http://example.org/example-graph/example-resource"
4852
}
4953
```
5054

5155
- `graphIRI` is the IRI of the graph that is currently viewed, and
52-
- `resourceIRI`is the IRI of the resource that is viewed.
56+
- `resourceIRI` is the IRI of the resource that is viewed.
57+
58+
To make use of this dynamic payload, the underlying workflow should define variable input using [Replaceable Datasets](../../../../build/workflows#replaceable-datasets).

0 commit comments

Comments
 (0)