Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed Workflows Connected to Connection Request Deletion Issues #6144

Open
2 tasks done
dataCollegechurch opened this issue Dec 30, 2024 · 1 comment
Open
2 tasks done
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be.

Comments

@dataCollegechurch
Copy link

Description

Completed workflows Connected launched from a connection request present two issues.

  1. They are not automatically cleaned up by the Rock cleanup job after its days completed exceeds the Completed Workflow Retention Period (days)
  2. When you attempt to manually delete them, you are presented with a warning "This Workflow is assigned to a Connection Request Workflow."

Actual Behavior

Completed workflows Connected launched from a connection request present two issues.

  1. They are not automatically cleaned up by the Rock cleanup job after its days completed exceeds the Completed Workflow Retention Period (days)
    image
    image

  2. When you attempt to manually delete them, you are presented with a warning "This Workflow is assigned to a Connection Request Workflow."
    image

Expected Behavior

A completed workflow regardless of what it is connected to would be deleted after its days completed exceeds the Completed Workflow Retention Period (days). A user can delete a completed workflow that is assigned to a Connection Request Workflow.

Steps to Reproduce

  1. Upload this workflow
    Notify Connector of Future Follow-Up Date Reached_202412300943.json
  2. Setup the workflow to launch when a future follow-up date is reached
    image
  3. Set the connector and future follow-up date to today on an active connection request
    image
  4. Run the Connection Request Workflow Triggers, this will generate a workflow tied to a connection request
    image
  5. Attempt to delete completed workflow
  6. After the days completed exceeds the Completed Workflow Retention Period (days), run the rock clean up job
    image
  7. See that the completed workflow remains
    image

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug or enhancement is already reported.
  • Reproduced the problem on a fresh install or on the demo site.

Rock Version

16.7

Client Culture Setting

en-US

@JimMichael
Copy link
Collaborator

I agree that this is odd behavior, particularly because there is a "Delete" button at the bottom of the Workflow Instance grid
image
that DOES delete these Connection-Request-Initiated workflows when they are selected and the button is pressed:
image

This implies that it's possible/ok to delete such workflows, but the other deletion methods (manully clicking x and cleanup job) just don't work the same way.

@sparkdevnetwork-service sparkdevnetwork-service added the Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be.
Projects
None yet
Development

No branches or pull requests

3 participants