cancel
Showing results for 
Search instead for 
Did you mean: 

[Resolved]Unable to checkout file in workflow task

gjwilson21
Champ in-the-making
Champ in-the-making
Hi

I am working on wcm workflow. I am implementing Change request workflow task. I have set edit_package_item_actions for bpmSmiley TongueackageItemActionGroup. The icons for this particular action group(checkout, edit content properties, etc) show up in the page. But when I click any of those actions, I get the error
Unable to find the repository item referenced by Id: IRC–workflow-001056b5-8565-44a8-9a2b-4c7f8682d0bd:/www/avm_webapps/ROOT/sssssaaaa.xml - the record has probably been deleted from the database.

When I checked the avm console for the [IRC–workflow-001056b5-8565-44a8-9a2b-4c7f8682d0bd] avm repository is present.
But when I went through the node browser the reference id for this file is given as
avm://IRC–workflow-001056b5-8565-44a8-9a2b-4c7f8682d0bd/-1;www;avm_webapps;ROOT;sssssaaaa.xml

What does the -1 in the reference id signify?
Is this change in reference id causing the problem?

Anyone faced this issue?

Thanks
2 REPLIES 2

gjwilson21
Champ in-the-making
Champ in-the-making
The -1 means latest version. Got the information from Mark.

gjwilson21
Champ in-the-making
Champ in-the-making
Found the issue. It was a mistake in my workflow content model which was causing the problem.

I was using the wrong action group(edit_package_item_actions instead of edit_wcm_package_item_actions).
Using the package group below solved the issue for me. Seems like for WCM workflow packages, the reference id is appended with a -1

      <type name="ircwf:revisionsRequestedTask">
         <parent>bpm:startTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>edit_wcm_package_item_actions</default>
            </property>
         </overrides>
      </type>