R1: tcAPIException: duplicate the element of planning for a task that is not multiple.

Hello

I am struggling with the next task:

I have to ensure that an account exists for a given resource. I have available with la.tcUserOperationsIntf.provisionObject ().

I created a createUser task to create the account.

The task code checks to see if it is already matching account.

If no account does exist, is created in a disabled state, and the State of the object of the IOM account is set to "Disabled" through return code of task mapping.

If it exists, it is "related" to the account of the IOM.

The problem is that if the existing account is enabled, I have to change account either IOM "Enabled" status.

To implement this (thank you, Kevin Pinski https://forums.oracle.com/thread/2564011)) I created an additional task 'Switch' which is triggered by a special task return code. This task is always successful, and his only side effect is the status of being 'Enabled '.

I'm getting the exception "Duplicate calendar item for a task that does not allow for multiple" permanently:

This is the stack trace:

Thor.API.Exceptions.tcAPIException: Duplicate the element of planning for a task which does not multiples. \

at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject (tcUserOperationsBean.java:2925).

at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject (tcUserOperationsBean.java:2666).

at Thor.API.Operations.tcUserOperationsIntfEJB.provisionObjectx (unknown Source).

at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method).

at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:57).

at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43).

at java.lang.reflect.Method.invoke (Method.java:601).

at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection (AopUtils.java:310).

at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint (ReflectiveMethodInvocation.java:182).

at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed (ReflectiveMethodInvocation.java:149).

.. .skipped

at Thor.API.Operations.tcUserOperationsIntfDelegate.provisionObject (unknown Source).

... jumped

What I did wrong?

Kind regards

Vladimir

Solved. Just forgot to mark the additional task as 'Conditional', then the system has tried to run twice.

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for

  • Command are not working and MacBook almost inadmissible

    My MacBook Pro (2008) becomes extremely inadmissible (constant of spinning ball)... It can sometimes take up to an hour to fully charge my iTunes, if I dare to open any other application then it is just a stand still and I end up doing a hard stop. I

  • Windows 7 choppy gameplay

    While playing some games like prototype and test drive unlimited, it goes for about 5 seconds of gameplay seamless, and then pause for a minute or three.  After that he played again... then breaks.  I tried to run Game Booster, but to no avail.  I ha

  • HP G71-340US how upgrade RAM?

    I have a HP G71-340US running every day more slow. It has 4 GB of RAM. How can I put him? The specifications of the product reveal 8MB while the maintenance and service guide display a maximum of 4 MB. Which is correct?

  • Vista recognizes the printer but does not load the drivers - error 0x000003eb

    Have even tried to load drivers generic, just to see if it works, no chance.  I have on other computers with XP Pro on them and they picked it up, drivers loaded and works very well, but Vista is a different game. Tried plugging USB and gives the sam

  • Quick Launch disappears after restart

    Hello. I use quick launch for many years and am very attached to it. I am running Win7 Pro x 64 and manually created the Quick Launch toolbar in my bar tasks. It works fine, but after a reboot, it disappears every time and I have to re-create the too