ydayagi commented on issue #2179:
URL: 
https://github.com/apache/incubator-kie-kogito-apps/issues/2179#issuecomment-2620870331

   > [@ydayagi](https://github.com/ydayagi) I've been doing more tests (with 
variables out of "workflowdata") and keeps on working. Let me copy some of 
them, in case you detect any pattern different from yours:
   > 
   > `curl -X POST http://localhost:8180/graphql -H "Content-Type: 
application/json" -d '{"query": "{\n ProcessInstances(\n where: {\n and: [\n 
{processId: {isNull: false}},\n {variables: {otraVariable: {equal: 
\"otroValor\"}}},\n {processId: {in: [\"hello_world\"]}}\n ]\n }\n ,\n orderBy: 
{start: DESC}\n ,\n pagination: {limit: 100, offset: 0}\n ) {\n id\n 
processId\n variables\n }\n}"}'`
   > 
   > 
_{"data":{"ProcessInstances":[{"id":"c96211f1-0499-4f31-b9e2-c0f9f2f71aec","processId":"hello_world","variables":{"otraVariable":"otroValor","workflowdata":{"mantra":"Serverless
 Workflow is awesome!","greeting":"Hello World"}}}]}}_
   > 
   > `curl -X POST http://localhost:8180/graphql -H "Content-Type: 
application/json" -d '{"query": "{\n ProcessInstances(\n where: {\n and: [\n 
{processId: {isNull: false}},\n {variables: {\n otraVariable: {\n equal: 
\"otroValor\"\n }\n }},\n {processId: {in: [\"hello_world\"]}}\n ]\n }\n ,\n 
orderBy: {start: DESC}\n ,\n pagination: {limit: 100, offset: 0}\n ) {\n id\n 
processId\n variables\n }\n}"}'`
   > 
   > 
{_"data":{"ProcessInstances":[{"id":"c96211f1-0499-4f31-b9e2-c0f9f2f71aec","processId":"hello_world","variables":{"otraVariable":"otroValor","workflowdata":{"mantra":"Serverless
 Workflow is awesome!","greeting":"Hello World"}}}]}}_
   > 
   > Do you have your complete cURL (including quote escapes) to check any 
other identation/space that still missing in my test?
   
   I use this command:
   ```
   curl -v -X POST -H 'Content-Type: application/json' 
http://localhost:7007/api/orchestrator/v2/workflows/instances -d@<path-to-file>
   ```
   The files I use are here 
https://drive.google.com/drive/folders/16Ch41NlhWLHfXgSFT-1ttmXHWfBeFnEu?usp=drive_link
   2 fail one succeeds


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to