3 Replies Latest reply: Dec 2, 2008 9:06 AM by Ian.D RSS

    Deletion of process task in OIM

    637207
      I am trying to delete a process task and I recieve the following errors.
      "The task could not be deleted it has schedule items.
      The response is used by one or more tasks"

      Could you please suggest on how to delete this task.
        • 1. Re: Deletion of process task in OIM
          Ian.D
          This could prove to be difficult. If a task has been used and the message you receive suggests that it has, then it can't be deleted, this is to retain the referential integrity of the data.
          • 2. Re: Deletion of process task in OIM
            655104
            Hi,

            I had this behaviour too, and didn't figured out how to solve it. Then, when I exported my connector, and re-imported it in another machine, I discovered that I could delete the task without problem.

            It seems that some kind of reference is written in database when creating and updating the process task, but it's not taken in the export XML file.

            Regards,
            • 3. Re: Deletion of process task in OIM
              Ian.D
              OIM doesn't let you delete tasks from within the design console in order to make sure that the integrity of the existing data isn't lost e.g. You can change the definition of a return value but it can't be deleted, this is because it has possibly been used in a workflow somewhere so that workflow references the return value. However, the way the workflow works is that an instance is created for the user this means that the original definition has no reference to where it might be used.

              However, if you export the process definition, resources etc. then these contain no instance information so you can change and delete items in the XML (Hint: this is one way to duplicate resources etc). But, you can't just load them back in over what you already had, you can really only do this kind of manipulation in design.

              Ian