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

#6960 Queries returning Draft Content Items and with more tokens available #6961

Conversation

jersiovic
Copy link
Contributor

I developed this issue #6960

@sebastienros
Copy link
Member

It's changing the interface, it needs to target a major version -> dev branch

@sebastienros
Copy link
Member

If I understand, you want your query filters to be able to use more tokens that the ones that are available in the request object. I don't see any usage of these tokens, does it mean you currently use the query API from your own module?

@jersiovic
Copy link
Contributor Author

jersiovic commented Aug 8, 2016

I call queries from a custom workflow element that I have no problem to share in another PR if you are interested in.
In the following screenshot you can see how I use a field in the current Content of the workflow that executes the query as parameter for that query:
image
We named the custom activity that executes a query: "Trigger From a Query" it triggers any signal we want for each content returned by the query we set. An example:
image

In that case we use that query to get the users to which we have to submit an email sending a signal per user. Then a signal activity catch that signal an send that email. In that way we are able to iterate through all the contents of a query to do an action with each result without needing to program anything, just using workflows.

@jersiovic
Copy link
Contributor Author

Is it interesting then? Do I create a new pull request to target dev branch?

@BenedekFarkas
Copy link
Member

Implemented in #7923 and #8112.

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

Successfully merging this pull request may close these issues.

None yet

5 participants