Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit a given Draft for review without requiring POST request information from the CP? #163

Open
taylordaughtry opened this issue Sep 30, 2022 · 1 comment
Labels
feature request New feature or request

Comments

@taylordaughtry
Copy link

What are you trying to do?

I'm attempting to create a Submission when another plugin (Formie) creates a Draft within a given Section.

Based on what I've found in Workflow's logic, it's pretty tightly-coupled to a CP Request and its POST data on the Entry Detail page.

Is there an existing method of creating a Submission when a Draft is created by something that isn't a person? (i.e. plugins creating Drafts, mainly)

What's your proposed solution?

Based on what I've seen in the plugin, it's not currently possible, given the tight coupling I mentioned. (I'm hopeful that it's simply user-error and I'm missing something obvious!)

Additional context

No response

@taylordaughtry taylordaughtry added the feature request New feature or request label Sep 30, 2022
@engram-design
Copy link
Member

You'd be correct in that Workflow is specific to Entries, and there's no immediate plans to expand that to other elements. And it's also tied to that "traditional" method of submitting a draft, either in the control panel or the front-end.

This is mostly because we require some form of user interaction to create a Workflow submission, to kick off the review lifecycle. There's nothing really like that for programatic drafts. So there's not really an existing method for you to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants