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
  • When you configure a process model for record related action, the process models latest published version will be picked to trigger an instance.

    Is the process model published, without any errors? We often face issues, with deleting the process model versions. I would not recommend to delete the previous version, it will impact the parent processes that are using these.

    Make sure that the latest version is in state "Published" not "Published disabled".

    I assume that the PM configured as a related action is not a wrapper model which in turn calls a subprocess.

Reply
  • When you configure a process model for record related action, the process models latest published version will be picked to trigger an instance.

    Is the process model published, without any errors? We often face issues, with deleting the process model versions. I would not recommend to delete the previous version, it will impact the parent processes that are using these.

    Make sure that the latest version is in state "Published" not "Published disabled".

    I assume that the PM configured as a related action is not a wrapper model which in turn calls a subprocess.

Children
  • I understand the latest should be picked up. That's exactly my quesiton.

    Now I did delete old older process models since I wanted to stop pulling my hair. I'm just learning right now, so there is no other Record referencing the process model. Status is indeed just published and not disabled. Also no subprocesses.

    I've just been suffering from n00b syndrome where some basic things are working for me (like in the other thread I'm reading a CDT instance which will not get assigned to my pv! variable while process model throws no error). This is for the same process model.

    Thanks for replying and improving my understanding. I'll keep at it and hope to reply with something different.