Matias Godoy
06/23/2020, 12:52 PMmutation {
create_flow_run(input: {
flow_run_name: "Test"
version_group_id: "81261519-e91c-4fe3-bf85-10cc3a2d5016"
}) {
id
}
}
But I get the following error:
{
"graphQLErrors": [
{
"path": [
"create_flow_run"
],
"message": "Version group 81261519-e91c-4fe3-bf85-10cc3a2d5016 has no unarchived flows.",
"extensions": {
"code": "INTERNAL_SERVER_ERROR"
}
}
],
"networkError": null,
"message": "GraphQL error: Version group 81261519-e91c-4fe3-bf85-10cc3a2d5016 has no unarchived flows."
}
I'm sure the group ID is correct, and that there is a version of a test flow I created. I can even run it manually.
What am I doing wrong?
Thanks!Zachary Hughes
06/23/2020, 1:06 PMMatias Godoy
06/23/2020, 1:06 PMflow_group_id
, when in reality what you need is the version_group_id
.
For anyone having this problem, you can find it using the following query:
query {
flow(distinct_on: name) {
name
id
version_group_id
}
}