Related Action referring to Ghost Process Model version

I fixed my Process Model with help from the forums. When I ran the Record Related Action that was using it, I realized older version of my Process Model was getting picked.

So I made sure my latest corrected Process Model version had been published. It was and all older versions showed disabled. For good measure I deleted my Related Action on my Record and recreated it. Same problem. I know for sure the last but one version of my Process Model getting picked because when I monitor the instance and look at Variables in Process Details, I see the debug variables I had introduced.

In frustration, I deleted all previous versions of Process Model and only kept the one which works and which does not have any debug process variables. Once again, I deleted Record Related Action and created it again. For good measure, I also unpublished Application and published again.

I ran my Related Action again. SAME Problem. How in the world is my Related Action able to find a non-existent version of my Process Model and instantiate it?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    For sanity sake, how about creating a new PM that has nothing to do with any that have come before.  Let it be just start node and end node.  Configure the related action to run that PM and do nothing instead of whatever it was doing.  Confirm that you can at least do that.

    Afterward, try reconfiguring your related action to use the new PM you've been trying to get it to run.

  • 0
    Certified Lead Developer
    in reply to Dave Lewis

    Because deleting in Appian is super weird, perhaps create a related action with a completely different name, then make sure the PM you're trying to run doesn't have the same name as anything you deleted.

    It could be that Appian sees an object with the same name as a deleted previous object, and runs the previously deleted one because it goes by names for reasons.

    It's stuff like this that gave colleagues of mine the best practice of never deleting anything in Appian ever.

Reply
  • 0
    Certified Lead Developer
    in reply to Dave Lewis

    Because deleting in Appian is super weird, perhaps create a related action with a completely different name, then make sure the PM you're trying to run doesn't have the same name as anything you deleted.

    It could be that Appian sees an object with the same name as a deleted previous object, and runs the previously deleted one because it goes by names for reasons.

    It's stuff like this that gave colleagues of mine the best practice of never deleting anything in Appian ever.

Children
No Data