# ask-the-community

Joe Kelly

10/11/2023, 10:33 PM
HI all! We are using
flytectl get launchplan
in a script to search for any existing instances of a given workflow. In the case where no such workplan exists, there is a message thrown to STDERR:
Copy code
Error: no launchplans retrieved for [redacted-workflow-name]
This is sometimes expected behavior for this script, though, and we'd rather not have to silence all STDERR from the command -- is there any flag we can set to tell
that an empty result is potentially expected / not have it throw this error?

Ketan (kumare3)

10/12/2023, 3:39 AM
Can you not use flytekit remote and write a python script

Joe Kelly

10/12/2023, 3:47 AM
Ah that might work, thanks