Process Task- Preceding and Dependency stuff

Hi All
I have a process task which is a child table insert task.
I also have anothe process task which is a parent process form update task.
Lets say first is Task A and later is called task B
If I put Task A as the preceding task for Task B, what would be the behavior
Will TaskB wait until all the child data is added to the child form.
Any help / suggestion in this regards are welcome.
Regards
user12841694

Groups are coming from request.
Add a hidden field on Process Form say COUNT
Add a task in Process Defn which will read the no of groups from request and populate the no say 3 groups so it will update 3
Add one more hidden field Counter and Default value == 0
Add a task which will be called after SUCCESS of Child Insert Task and it will increase the Counter field by 1 and return SUCCESS and call TaskB on SUCCESS
In your other task TaskB, write logic if Counter == COUNT then do operation and return "SUCCESS" else return "FAIL"

Similar Messages

  • Task response and dependent task on response mapping

    Hi All,
    I am using OIM 10g. I was wondering if anybody has a query which gives task response vs dependent task on response mapping.
    For example if Tasks A's response is Success C then on that I will run Task B so the query should return all these three element.
    Thanks in advance.

    Hi,
    You can use this query as per you requirement,
    select pkg.pkg_name, mil.mil_name, rsc.rsc_data, rsc.sta_key, sta.sta_status, sta.sta_bucket, mil2.mil_name
    from pkg pkg, tos tos, mil mil, mil mil2, rsc rsc, sta sta, rgm rgm
    where pkg.pkg_key = tos.pkg_key
    and tos.tos_key = mil.tos_key
    and mil.mil_key = rsc.mil_key
    and rsc.sta_key = sta.sta_key
    and rgm.rsc_key = rsc.rsc_key
    and rgm.mil_key = mil2.mil_key
    and pkg.pkg_name = 'Exchange' -- Your application name
    order by pkg.pkg_name, mil.mil_name, rsc.rsc_data, sta.sta_status, mil2.mil_name.
    Thanks,
    Kuldeep

  • Process tasks execution flow

    Hi,
    * When a provisioning process starts, the first one is System Validation.
    * Next, all un-conditional tasks run.
    * Tasks can trigger additional tasks based on the mapping with the response code and these tasks run.
    I wanted to get clarified whether preceding and depedent tasks will tell us which tasks have to run prior to running the current or will they also add the list of tasks in the execution flow ??
    Thanks,
    Durgaprasad

    Hi,
    Yes, you can define the order of process task execution using preceding and dependent tasks. These tsk will be executed after the System Validation task is completed. And these task should be unconditional, preceding-dependent task tab does not work for conditional tasks.
    For example:
    You can have Create user task as a unconditional task and another Send mail notification to the user. Add this send mail notification task as a dependent task of the create user task. So when Create User task completed successfully , send mail notification task will be triggered. This is just for example, you can define task as per your requirement.
    Thanks,
    Pallavi

  • Trigger another Process Task after Enable User completed

    I would like to have a process task trigger after the "Enable User" process task successfully completed.
    E.g. Scenario
    A user currently has a disabled resource. When I enable the user, the Enable User process task
    gets called and enables the user. After that I would like to have my custom process task triggered after that.
    I tried adding my custom process task in the Enable User task as a dependent task, but it never gets called.
    Also, I tried adding the custom task to Tasks to Generate but that did not work.
    What am I doing wrong or am I missing a step?

    Instructions:
    Goal: When 1st process task is triggered, the 2nd process task will kickoff.
    1. Select the 1st process task
    2. In the Task Dependency Tab of the 1st process task, add the 2nd process task in the Dependant Task section.
    3. In the Responses Task of the 1st process task, select the SUCCESS response and add the 2nd process task in the Tasks to Generate section.
    IMPORTANT: Each response has its own Task to Generate. So make sure you add to the response you want the 2nd process task to trigger off by.

  • Process Task Adapter that looksup value

    Hi,
    Any help on creation of a process task adapter that will lookup a value in OIM.
    I wanted to make this as a generic adapter, by passing the lookup name and a codekey value which should fetch the decoded value in that lookup table.
    By doing so, I wanted to set few attributes so that when a attribute value got changed in USR form, it should search the mapped lookup and the codekey value (using a process task definition) and then set the decoded value in the targetted attribute.
    Thanks in advance.
    Regards.

    Here is the thread which might help you. Solution is there.
    Adapter for querying lookup table
    Sunny

  • Process Task dependency issue in OIM 11g

    Hello,
    I created 3 process tasks (Task1, Task2 and Task3) .I would like to trigger Task3 when both Task1 and Task2 get completed status.
    So what I did is I put both Task1 and Task2 as depedent tasks in Task 3 "Task Dependecy" tab. In this case both Task1 and Task2 get triggered and completed , however Task3 is NOT triggering.
    Even I tried putting both Task 1 and Task2 as Preceeding tasks for Task3, still it does not work.
    Could you please let me know how can we trigger Task3 once both Task1 and Task2 completes.
    Thanks for you help.

    By Task Dependency you can just control the order of the tasks being executed but you cannot invoke/insert a target.
    Ideally what you did as suggested in the latter option is correct: Task1 and Task2 as preceding task of Task3.
    To invoke Task3, you can do multiple things, the easiest here would be to go to the Responses tab of Task2 select the response Completed and then in Tasks to Generate section add Task3

  • Dependent process task is not triggering - OIM 11.1.2

    Hi All,
    In 'AD User' process definition, I have added a process task 'send email' which will send a e-mail notification on User profile location change.
    I made it a dependent task of 'Change AD OU' (process defined by me, triggers when user profile location is changed).
    Test performed
    1) changed User profile location attribute from identity self service.
    Test Result
    1) User profile Location is  updated.
    2) 'Change AD OU' process task is triggered and executed successfully. And process task returned success and the status value is 'C'
    3) Dependent task 'send email' is not triggered.
    Verified following
    1) both process task are made unconditional.
    Please help me in knowing, why the dependent task is not being triggered.
    Thanks in advance
    Praveen

    Hi Rajiv,
    Thanks for reply.
    I configured it according the link provided.
    Now facing below issue.
    When I changed first name of a user from identity console, 'Change First Name' process task is triggered and is assigned to XELSYSADM (coz, in the assignment tab I added only XELSYSAD). But the status of the process task is Rejected. Also, the changed 'First Name' value is not updated in the process form of the user. Hence the change is not reflected into AD.
    Please tell me why the status is Rejected and changes are not reflecting.
    Also, Please provide the solution to auto provision the modifications into AD.
    Thanks in Advance.

  • Dependency in Xellerate User process task

    I create a process task in xellerate user process and in de dep table create de dependency, to execute before the add user task, but the task never start. I modify to execute before System Validation with the same result.
    The task is not conditional, allow multiple instances and required for termination.
    Why the task don't start, is this normal with oim11g?

    If you are using OIM 11g you may want to look at using an event handler to manage such user process customizations rather than Xellerate user adapters. These are the newest way of handling such customizations on user objects and I think may give you better compatibility going forward. In your case a pre-process handler seems appropriate. Refer to the OIM developers guide for details.

  • When closing my Firefox window, all processes are not closing requiring me to open task manager and kill the process before using Firefox again. Received recent upgrade and hasn't worked right since then.

    I open Firefox, use it, then close the window. Try to reopen Firefox and it fails with a message that a previous process is still running. Requires me to open Task Manager and kill the old process.

    Try to wait a bit longer before reopening Firefox to give Firefox more time to close completely.<br />
    Try to use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.
    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *https://support.mozilla.com/kb/Firefox+hangs

  • Often, Firefox app will close, but the underlying Windows process will not and cannot be stopped via Task Manager. When this happens, Firefox can no longer be used...the system must be rebooted.

    Hello,
    Often, the Firefox app will close, but the underlying Windows process will not and cannot be stopped via Task Manager. When this happens, Firefox can no longer be used...the system must be rebooted. This happens especially when many apps are running but even though there are plenty of memory resources available.
    I have tried to find if something is using Firefox in the background, but have no way to know what that would be.
    Their are no apparent viruses detected.
    Firefox is version v5.0 and occurred in earlier release.
    System is Windows 7 (64bit).

    well, it's not the same hardware and it's a bit different.
    I managed to pass that stage somehow but I still have a problem
    I don't use the built-in creator tool that comes with Spyrus as it doesn't know how to append a pre-staged media that was created by SCCM that should apply the Windows file system to a second partition and the WinPE to the first partition.
    I managed to do everything. my only problem is that the WTGCreator that comes with SCCM 2012 R2 creates the 350MB partition with FAT32 file system.
    when I boot from the device I get the WinPE, I can choose a task sequence and then it fails when trying to apply the wim file. the error tells me that the 350MB partition is FAT32 which is not supported (even though it chooses the second partition, which
    is all the rest of the disk space)
    what I did was adding another task that converts the 32 Fat partition to an NTFS partition and then the process continues and finishes successfully! but that's a workaround.
    I'm trying to make this process as smooth as possible without having additional steps
    Tamir Levy

  • My iPod Classic 160GB is recognized by computer, and goes through sync process, but still has old stuff...

    My iPod Classic 160GB is recognized by computer, and goes through sync process, but still has old stuff...
    I feel like there must be an issue with the library location, but I don't know how to correct that.  My Dad recently wiped my computer and deleted Windows XP and installed Windows 7.  I don't know what he did, but my iTunes library is still intact it seems. However, I've added quite a few podcasts that I'd like to sync to my iPod.  When I connect it, it goes through the sync process, but ends quickly and says its safe to disconnect.  None of the new podcasts are on there though.
    Also, there was something really wrong with my iTunes account.  When I went to buy something from the store, it wouldn't accept my password, and when I went to reset it, it wouldn't recognize my birthdate and month (I had the correct username).  I ended up creating a new account and purchasing a song.  This time, it did sync the new song onto my iPod, but not the podcasts I'm trying to sync.
    As far as the library location, is there anything particular that has to be included in that library in order for it to be recognized by iTunes when you sync?  Awhile back (before my Dad worked on my computer), I had changed the folder location to my external hard drive, but in researching, I saw that I still had in another drive some folders with music that is currently on my iPod.  So it looks like I have some stuff on two different drives... Maybe this has something to do with it not syncing right?
    I did check, and my Firewall doesn't have iTunes blocked.
    As you can see, I'm not very experienced with all of this... Sorry for the confusion.  If you are interested in helping me and have any questions, please let me know.
    I'm hoping someone will be able to help me... I desperately want to be able to listen to my podcasts, as I'm a stay-at-home Mom of 4 little ones, and the podcasts are kind of an "escape" for me when the children are napping or playing. :-) 
    Thank you in advance for your help!

    Oh my goodness!!  I am absolutely thrilled right now B-rock!!  I don't know how I missed it, but when I went back to change the setting like you mentioned, I noticed that the very top box that says "Sync Podcasts" wasn't checked!  I have no idea why... But my heart started to race when I checked that box and all of a sudden it started syncing all my podcasts!!  It's gonna take a long time (I have 385 of them!), but I am just so happy you helped me with this problem.  Thank you SO much! 

  • Execute process task argument is not working for sph file and ogr2ogr.exe

    Hi All,
    I am trying to load shape file into a sql spatial table. A execution process task is used to run the ogr2ogr.exe program.
    This is how the process tab looks like .
    Executable : C:\gdal_ogr2ogr\bin\gdal\apps\ogr2ogr.exe
    Argument :  -f MSSQLSpatial   MSSQL:server=SQL-ABC-DEV;database=MYSIMPLE_Dev;Trusted_Connection=True;\\mypath\files\shares\Data\www.mypage.htm\my_sample_file.shp
    Success value : 1 (I am not sure why I need to change this value from 0 to 1.
    For above settings, package runs fine. However the spatial table is not created always. It is created once in a while after switching Success value from 1 to 0 and 0 to 1 again. (After the spatial table is created, it is dropped using a execute sql statement). 
    I am running this in VS 2012.I saw in an article that we need to convert shp file to csv before we load it into sql server.I even tried to convert shp to csv using execute sql task and ogr2ogr.exe. Still the package runs successfully after changing Success
    value from 0 to 1 but no csv file is created. If the success value is 0, it throws the following error.
    [Execute Process Task] Error: In Executing "C:\gdal_ogr2ogr\bin\gdal\apps\ogr2ogr.exe" " -f CSV \\xxxxxxxxr.rdn\files\shares\xxx_Data\ImportData\www.xxxxxxx.hapepage.htm\xxxxxx\Watches\Warnings\myfile\CSV \\xxxxxxxxr.rdn\files\shares\xxx_Data\ImportData\www.xxxxxxx.hapepage.htm\xxxxxx\Watches\Warnings\myfiles\www.shp"
    at "", The process exit code was "1" while the expected was "0".
    Could long file name be a problem too?
    Thanks for your help in advance..
    shamen

    Hello shamen,
    Seems to me you are missing a step to check if the shape is there and purge it before loading if so.
    Arthur My Blog

  • I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete going to windows task manager and process, also i can't open a new window, it won't allow it. please can you help me

    I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete firefox going to windows task manager and process, also, i can't open a new window, it won't allow it. please help me, everything works on IE, Google Chrome and Safari, everything went wrong after the update

    Hey Elaine07!
    I have an article here that can help you with that issue. This article will help you make sure you have uninstalled iTunes correctly and help you troubleshoot the launch issues you are seeing:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • HT1925 I was trying to make sure that all my Apple software was uninstalled, and I still can't remove C:\Program Files\iPod\.  I went to the Task Manager and it is not listed in the Processes tab.  What do I do now?

    I was trying to make sure that all my Apple software was uninstalled, and I still can't remove C:\Program Files\iPod\.  I went to the Task Manager and it is not listed in the Processes tab.  What do I do now?

    Are you looking for iPodService.exe?
    Might be better to run services.msc from the run dialog and shut down the service polietly.
    tt2

  • When Hard-coded server name and data base name are replaced with variables , execute process task does not produce the result

    Hi All,
    I am trying to load shape file into a sql spatial table. A execution process task is used to run the ogr2ogr.exe program.
    This is how the process tab looks like .
    Executable : C:\gdal_ogr2ogr\bin\gdal\apps\ogr2ogr.exe
    Argument :  -f MSSQLSpatial   MSSQL:server=SQL-ABC-DEV;database=MYSIMPLE_Dev;Trusted_Connection=True;\\mypath\files\shares\Data\www.mypage.htm\my_sample_file.shp
    Success value : 1
    For above settings, package runs fine. The spatial table is created in SQL server db. However when hard-coded SQL server name and database name are replaced with global variables , the spatial table is not created in the database. Yet the package runs fine.
    It does not throw any errors. (I am using another variable for full file path. It is not causing any errors though)
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True;"+ @[User::Filepath] + "\\my_sample_file.shp"
    Both variables are string type. Can anyone tell me what I am doing wrong here please?
    I am running this in VS 2012.
    Thanks for your help in advance..
    shamen

    There should be a single space just after True:
    before
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True;"+ @[User::Filepath] + "\\my_sample_file.shp"
    after keeping the space
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True; "+ @[User::Filepath] + "\\my_sample_file.shp"
    Thanks
    shamen

Maybe you are looking for

  • How can I delete all the email from a user's account? (Update for 10.6)

    When I tried this on OS X Server 10.6: http://discussions.apple.com/thread.jspa?threadID=2317213&tstart=0 I got an error about "configdirectory" option not being specified in configuration file... anyone know what this means and how to fix it? Thanks

  • RFC CALL canu00B4t execute Functions module ??

    Hello everybody, I have a problem with a Function module. The function module should open an link (it´s a Link of a Webdynpro Application). I have the following constellation. Bex Analyzer execute a RFC Call to open/execute the Function module. The F

  • IPhoto Library open in mbpluginhost

    Hi all, Just upgraded to the new OSX Yosemite (10.10.3) and when I open iPhoto I'm getting the error 'iPhoto is open in mbpluginhost' - what does this mean??

  • WBS element field

    I would like to know the ref field in FI tables for WBS element PRPS-PSPNR. I checked on BSEG-PROJK but it does not seem to refer PSPNR(WBS element) in PRPS. Any help is appreciated. Thank you

  • Question about security in web browsers

    What are the security limitations of an applet in a Web browser? Is there any way to get around them? plz just give me a straight answer, none of this stupid link bs.