plone / plone/plone.restapi

Workflow introspection missing

Open
#1,003 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

04 type: enhancement 14 prio: low
Dominant language
Python
Stars
109
Forks
107
Avg merge
2d 3h
Merged PRs (30d)
4

Description

Not a direct feature request but a common observation in working with plone.restapi:

Using the @workflow endpoint requires knowledge about the underlying workflow and its transitions.
In particular with custom workflows, it is very hard to write custom code for bringing a particular object into a particular workflow state (e.g. as part of a migration).

Perhaps two options:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the @workflow endpoint and the linked community question about setting review state programmatically. Compare the two proposed directions—introspection of all workflows or direct workflow-state and security updates—and establish which behavior the issue should deliver. Done should include an agreed scope and an API design for custom workflows.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.