It seems there isn't a direct way via the Prefect 2.0 UI to manually mark a task run as successful akin to what you can do in Airflow. This feature is not directly documented, so you may need to employ a workaround.
One approach could be to implement logic within your flow to handle bypassing or skipping tasks conditionally. Prefect allows for task control via the flow's logic, where you can add conditions around whether a task should actually execute or not.
You may consider using state manipulation programmatically to set a task to a "Success" state in specific conditions by using Prefect Python client commands. However, this typically means adjusting your flow's code rather than using the UI for post-run state management.
For more detailed instructions on states and using them in Prefect 2, you can refer to their
official documentation.
If you're exploring alternative methods or looking for community feedback, checking Prefect's GitHub discussions or community forums could be valuable. However, specific UI feature requests would likely require engagement with the Prefect team or community contributors for feature enhancements or workarounds.