Yash
01/21/2022, 12:08 PMdelete_flow_group_schedule
.
Is there any way to delete a 'programatically created schedule' by using graphql mutation or client through code.Anna Geller
01/21/2022, 12:21 PMmutation {
set_schedule_inactive(input: {
flow_id: "8e737c4c-194b-4751-ba0c-aaed4a8faf8e"
}) {
success
}
}
Yash
01/21/2022, 3:47 PMAnna Geller
01/21/2022, 3:58 PMYash
01/21/2022, 4:01 PMKevin Kho
01/21/2022, 4:14 PMflow_group_schedule
is the one that you attach in the UI. For the one that comes through registration, it gets added to the Flow. So in GraphQL, if you do:
query{
flow {
name
schedule
}
}
You will see the schedule.
This means that editing the schedule means you need to edit the Flow object itself. Effectively, this is a re-registration. If you did it purely in GraphQL, you would need to pull the serialized flow, edit it, and then create_flow_from_compressed_string
and pass it back in.flow_group_schedule
to add/delete like thisYash
01/22/2022, 1:53 PM