Linking the Revoke Action to Process Task

Something that I haven't quite figured out yet is the connection between "Provision Resource" and the Process Task to Create the Resource, and likewise the connection between "Revoke Resource" and the Process Task to delete the Resource. I have a suspicion that it happens purely because the Process Task Name begins with "Create" or "Delete" and not something that is actually specified somewhere. Is this correct, or is there more to it?
I guess this could be a more general question about what regulates which Process Tasks are invoked and in what order for a given event. I finally think I understand that the Disable and Enable events are linked to Tasks through the "Process Effect" selection.
Maybe there is a document that defines this that I haven't stumbled on. I would take a reference if there is one.
Thanks,
Bill

When provisioning intitaes then it triggers the Unconditional task (Create User Task generally).
When Revoke triggers then it will execute a task which is in the Undo tab of Unconditional Task (Create User Generally).

Similar Messages

  • How to disable an out of the box disable User process task  from resource?

    How should I disable the out of the box disable User process task that is assigned to a particular resource? If I disable this disable User process task, when the user is provisioned to the same resource will I be able to stop this disable User process from running?
    My requirement: I need to disable the disable user process task from three resources x, y and z. Whenever a user is provisioned to one of these resources I should stop this disable user process task an out of the box process task from running. How can this be accomplished?? Please help me out on how to configureto remove the process task in the OIM Admin console to stop the process task.

    You can avoid the disable task from triggering by removing the Disable Process Or Access to Application from the task effect drop down in the process task. But this task is triggered once the user is disabled. But still I didn't understand the exact scenario.
    By the way the disable task is triggered when the user gets disabled and not when the user is provisioned.
    Edited by: vindla on Aug 1, 2011 10:26 PM

  • How to stop the triggering of a process task

    Hi
    I have one child form details and the correspnding task to add user to the child form is 'add user to details'
    When I am provisioning a user i am adding the child form field ,its a multivalued attribute and after the user got created the child values are also populated . But after I have added the task 'add user to details' that is also triggering on the call of create user that i dont want actually . I need that task only to update the child form after the user got provisioned not in the create user scenario.So please tell me how to restrict the triggering of that task during create user
    thanks in advance

    802390 wrote:
    thx for the response
    that task is conditional only..the thing is i dont want to trigger that task after create user coz already Im adding the child values with the createUser api so no need to update the child form again with the same values.I wrote the task 'add user to details ' for the further updation of child form ,not at the time of create user
    Edited by: 802390 on Nov 22, 2010 1:21 AMYou wanna say that your Create User task is adding roles/groups data in Target Resource itself.
    Now you have made another task just to modify child data records.
    I'll say that it is wrong. You'll face issues as you are directly inserting data into target without updation of child form which is against Audit and Compliance.
    It would be better if you make separate task for Creating User and Adding Multivalued data into target application.
    Anyways,
    Add your second task with proper trigger on Child Form like insert/update.
    Go to Create User task and remove all dependency which triggers your second task.

  • Execute Process Task - Error :The process exit code was "2" while the expected was "0".

    I am designing a utility which will keep two similar databases in sync. In other words, copying the new data from db1 to db2  and updating the old data from db1 to db2.
    For this I am making use of the 'Tablediff' utility which when provided with server name, database, table info will generate .sql file which can be used to keep the target table in sync with the source table.
    I am using the Execute Process Task  and the process parameters I am providing are:
    WorkingDirectory : C:\Program Files (x86)\Microsoft SQL Server\90\COM
    Executable :      C:\SQL_bat_Files\SQL5\TC_CTI\customer.bat
    The customer.bat file will have the following code:
    tablediff -sourceserver "LV-SQL5" -sourcedatabase "TC_CTI" -sourcetable "CUSTOMER_1" -destinationserver "LV-SQL2" -destinationdatabase "TC_CTI" -destinationtable "CUSTOMER"  -f "c:\SQL_bat_Files\sql5\TC_CTI\sql_files\customer1" 
    the .sql file will be generated at:  C:\SQL_bat_Files\sql5\TC_CTI\sql_files\customer1.
    The Problem:
    The Execute Process Task is working fine, ie., the tables are being compared correctly and the .SQL file is being generated as desired. But the task as such is reporting faliure with the following error :
    [Execute Process Task] Error: In Executing "C:\SQL_bat_Files\SQL5\TC_CTI\package_occurrence.bat" "" at "C:\Program Files (x86)\Microsoft SQL Server\90\COM", The process exit code was "2" while the expected was "0". ]
    Some of you may suggest to just set the ForceExecutionResult = Success (infact this is what I am doing now just to get the program working), but, this is not what I desire.
    Can anyone help ?

    Jwelch,
    Thanks for the input,
    "Change the SuccessValue property of the Execute Process task from 0 to 2 (which means that you will get a failure if there are no differences, since TableDiff returns 0 in that case)."
               -- Not possible b'coz if there is no difference in the tables, which is also a possiblility, the job will fail.
    "FailTaskIfReturnCodeIsNotSuccessValue to FALSE (which means it won't fail regardless of the code returned)."
              -- Does this mean the job will never fail? Lets say the target table doesnt exist, then, by setting "FailTaskIfReturnCodeIsNotSuccessValue to FALSE " will the job fail? I guess my question is, how is what you've suggested different from setting "ForceExecutionResult = Success". Both the cases will show the task status "Success" even if there is an error.
    Is there a way to keep the property of job 'Failure' if there is any generic errors like target table not found or say, the path given for .sql file output is not valid etc.
    Thanks again,
    Little_Birdie.

  • Using UNC Path With Execute Process Task

    I have an Execute Process task in which the process can either delete, get or put files to an SFTP site. The executeable takes arguments in the following format:
    "host" "user" "password" "put" "full local path/filename" "full remote path/filename"
    I have the task configured as follows:
    RequireFullFileName: True
    Executeable: \\server\groups\Development\ETLFiles\ETL_Utilities\ocsshhelper\ocsshhelper.exe
    Arguments: sftp user password \\server\groups\Developmement\ETLFiles\ETL_Data_Files\CT_FS_Export_20081113.csv stateExport\export
    WorkingDirectory: \\server\groups\Development\ETLFiles\ETL_Utilities\ocsshhelper
    WindowStyle: Hidden
    Arguments, Executeable and WorkingDirectory have been configured as Expressions. When I execute the package in BIDS from my Windows  XP SP3 machine, The task fails with the following error:
    [Execute Process Task] Error: In Executing "\\server\groups\Development\ETLFiles\ETL_Utilities\ocSSHHelper\ocsshhelper.exe" "sftp user password put \\server\groups\Development\ETLFiles\ETL_Data_Files\CT_FS_Export_20081113.csv stateExport\export" at "\\server\groups\Development\ETLFiles\ETL_Utilities\ocSSHHelper", The process exit code was "-532459699" while the expected was "0".
    My domain account has 'effective' full control rights to the location of ocsshhelper.exe.
    It could be that the executable does not support UNC paths, and I'm checking that. I have another package that uses this same application, but uses the physical path, and there are no problems. Does the Execute Process task have issues with UNC paths?
    Thank you for your help
    cdun2

    Actually it doesn't work properly in SQL Server 2008 R2.  I have a similar EP task.  If I set the working directory to \\server\share\subdir the task fails. However, if I map a drive latter to the \\server\share and set working directory to <drive>:\subdir
    it works

  • How to catch rollback in Disable user process task in Xellerat User Process

    hi ...
    I want to send an email to manager group of the user, once the user is disabled from the OIM (when end date is reached). I created an adapter and attached it to the ‘Changed User Disabled’ process task in the ‘xellerate user provisioning’ process and add a new row in the “Lookup.USR_PROCESS_TRIGGERS” Lookup definition. (code key: USR_DISABLED and Decode: Change User Disabled ). This adapter executes only when the user status is equal to “disabled”.
    This works correctly when the OIM user disabling process execute without any errors. But sometimes while disabling the user it gives an error (“resource is not configured properly”) and rolls back everything and make the user active. But at the same time my adapter runs and sends the mail informing user is disabled but yet user is active.
    My problem is how can I find or catch rolls back transaction in the “Disable User” process task (which is in “Xellerate User” process”) ??? If I can get to know that a roll back is occurred then I can send a mail to OIM administrator, informing that user disable process is failed.
    Can someone please help me to find this..
    Thanks in advance :)
    Regards,
    i.k.

    Hi Rajiv,
    Error occurs while disabling the user due to resource configuration problems. ( error message is : DOBJ.RESOURCE_NOTCONFIGURED_PROPERLY -- One or more provisioned resource is not configured properly) In this case i know the problem and how to solve it. But what I want to know is in any case if disable process get fail and if things get roll back again, then how can I track that situation and send a mail to OIM Admin(informing the failure) instead of sending a mail to user managers saying that user account has been disabled.
    I think now my problem is clear…. Can u please help me to find this.
    Regards,
    i.k.

  • How to execute SQOOP.cmd file from SSIS execute process task?

    How to execute SQOOP.cmd file from SSIS execute process task?
    What is argument need to be prefixed in the arguments property
    Executable: C:\Hadoop\sqoop-1.4.2\bin\sqoop.cmd
    Arguments: /C "sqoop import -connect "jdbc:sqlserver://mysystem:1433;database=test;username=myuser;password=mypwd;" -table emp  -target-dir /user/emptable -m 1"
    Thanks
    Durga

    Hi Durga,
    SQOOP.cmd must be no different than any other .cmd/.bat I assume, your question is more about setting the parameters up I guessed.
    So unless the arguments change dynamically you can call SQOOP.cmd from yet another .cmd that has its parameters passed to it and the former you simply set to run without the arguments in Execute Process Task.
    Otherwise, in general to set a bat/cmd file to run in SSIS one needs to do this:
    PS: It is a good idea to populate the working directory with the path to the .cmd
    Arthur My Blog

  • SSIS execute process task error on unziping

    Hi
    I am using 7zip to unzip files in SSIS using execute process task. Here is the configuration of the task:
    executable: C:\Program Files\7-Zip\7z.exe
    arguments: e default-o\\servername\livechat\unzip\
    However, on executing package in BIDS, following error is thrown
    [Execute Process Task] Error: In Executing "C:\Program Files\7-Zip\7z.exe" "e \\servername\livechat\7566_20121009.zip-o\\servername\livechat\unzip\" at "", The process exit code was "2" while the expected was "0".
    Can someone help where I made mistake?
    Thanks,
    hsbal

    I have mapped the share to F: and then tested. Unfortunately that doesnt work as well.
    I am getting the following error:
    [Execute Process Task] Error: In Executing "C:\Program Files\7-Zip\7z.exe" " F:\*.zip    -o F:\unzip" at "", The process exit code was "7" while the expected was "0".
    Thanks,
    hsbal
    Seems like a syntax error. Go through this
    http://www.dotnetperls.com/7-zip-examples
    Rajkumar

  • Execute Process Task :Executing DOS Command lines in Execute Process Task

    Hi All,
    I am trying to sftp files using Tectia Client from my local system. For that I have used the Execute Process Task in SSIS. First I open DOS command and try to instantiate the sftp3.exe.
    Then I write down the below command
    binary
    open username@hostname
    lcd C:\Test
    cd <Destination Path name>
    put test.txt
    How to execute the command in execute process task ?
    help is appreciated
    Thanks

    Hi ConnectDebz,
    According to your description and script example, do you use WinSCP.exe to perform the SFTP files transfer? If so, you should set the Executable of the Execute Process Task to the path of the WinSCP.exe, save the script in a .txt file and set the Argument
    of the Execute Process Task like “/script=C:\Temp\sftploader.txt” (without quotes).
    References:
    http://www.sqlservergeeks.com/blogs/raunak.jhawar/sql-server-bi/395/sql-server-sftp-with-ssis-execute-process-task 
    http://gregcaporale.wordpress.com/2012/02/23/using-sftp-in-sql-server-ssis/ 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • OIM Process tasks Query

    Just wondering how the process tasks are related to the process form fields. E.g. where can I map that if the first name on process form is modified, OIM should trigger the 'First Name Changed' process task. I know about USR_PROCESS_TRIGGERS, but I am talking about the task which is mapped to the connector and is responsible for updating data in target application.
    Thanks

    if the first name on process form is modifiedIt triggers First Name Updated. It's architecture of OIM that it triggers 'Label Updated' task when you update Process Form. May be some event handlers are attached. Not sure 100% as didn't search for this.

  • Process tasks of "Xellerate User"'s  modified

    Hi Experts,
    In our env, Maapng info of all custom process tasks was updated to unmapped. Its happend for only Xellerate User resource object. we dont know, how it happend. Can ay one tell, any reason behind it. Last change in OIM is, installation of RACF connector into OIM. How ever, we are not sure, is this effects the Xellerate user's process task's adapter mapping information.
    Please suggest.
    Thanks,
    ravi.

    Hi Kevin,
    Yes, It was unmapped, We are looking for root cause of it. You meant to say, This unmapped thing was happend due to RACF connector installation?.
    Thanks.

  • Passing Arguments to a Process Task

    I have a Process Task inside a For Each Loop Container.
    When I hardcode the arguments to a known id it works fine.
    If I set the Arguments property to my variable as -> User::CustomerId nothing happens and it looks like nothing is passed.
    This variable is set in a Script Task previously inside the For Each Loop container and I see it is set when I debug it.
    I am a little lost as to what is happening.
    Anyone?
    Thanks,
    C.
    CG

    Try like this
    1. Put a breakpoint on the pre execute of the execute process task
    2. When package execution hits the breakpoint go to watch window and check the value set for variable
    3. Copy the value out and go to command prompt
    4. invoke the exe which execute process task calls with argument value you got from variable and then you will get the exact error message.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Customize Process Task notification

    Our goal is to send a notification to group of users (members of a Role) when a Siebel Account is successfully created.
    To accomplish this task we used the legacy feature of OIM to send notification by doing the following:
    - create a custom Email Definition of Type = "Provisioning Related" using OIM Design Console - Process Management - Email Definition
    - add the above Email Definition to the provisioning task using OIM Design Console - Process Management - Process Definition - Siebel Process - Tasks - Create User - Notification
    This works as expected except the following issues:
    1. the Email Definition contains more than one field of type Date that are shown in English format (e.g. June 8, 2012) we would like to parse date values in a different format (e.g 2012-06-08).
    We have already tried to change the Email Definition attributes Language/Region from values "en/US" to "it/IT" but the notification stops to be sent until we rollback to original values "en/US"; is this a know bug or a miss configuration?
    In any case, is the Language/Region related to the date format?
    2. some attribute values in the Email Definition should be "transformed"
    Any suggestion how solve the above issues?
    As a workaround we coded a Java Plugin that sends email notifications (in this case we are able to write the email content as we want) and trigger this Plugin by an Event Handler but only for events related to the OIM User (CRETE/MODIFY/DELETE/etc..); we have no idea how trigger the same Plugin/Event Handler for the Siebel Account events. Is it possible? How?
    Thanks and regards,
    Gabriele.

    To "trigger the notification task (new task) upon Sucess response code of Siebel create user task" you mean:
    - create a Java Plugin with all the code needed to create and send the email notification?
    - create an Adapter of type Process Task that triggers the above Java Plugin passing all the required variables?
    - create a new Process Task that trigger the above Adapter and maps all the defined variables?
    - finally, set the above Process Task as of the original Create User Process Task?
    Is this correct? Did I miss some steps? Did you tried it?
    Thanks,
    Gabriele.

  • Execute Process task Error

    Hi All
    when i am using the Process execute task in ssis it is failing with the fallowing error
    [Execute Process Task] Error: In Executing "C:\Program Files\PuTTY\pscp.exe" "echo y | pscp -sftp -pw Password
    [email protected]:/opt/DSC_6_0_R5/logs/metrics.csv C:\Users\Public\Documents\SurendraData\DRA\PSCPTest\server1A_metrics_SSIS.csv" at "C:\Program Files\PuTTY", The process
    exit code was "1" while the expected was "0".
    when i run the same command from cmd promt is succesful
    The command is
    echo y | pscp -sftp -pw Passwprd
    [email protected]:/opt/DSC_6_0_R5/logs/metrics.csv C:\Users\Public\Documents\SurendraData\DRA\PSCPTest\server1A_metrics_SSIS.csv
    In Execute Process task i have set the fallowing value
    Executeable  = C:\Program Files\PuTTY\pscp.exe
    Arguments  = echo y | pscp -sftp -pw Passwprd
    [email protected]:/opt/DSC_6_0_R5/logs/metrics.csv C:\Users\Public\Documents\SurendraData\DRA\PSCPTest\server1A_metrics_SSIS.csv
    Working directory = C:\Program Files\PuTTY
    what is the issue ? how to solve that
    Surendra Thota

    The " are necessary to pass in a path with spaces1 st try it in a script. See if that works. If not see this good tutorial: https://sqlserverrider.wordpress.com/tag/execute-process-task/
    or
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2013/03/04/integration-services-packages-using-execute-process-task-with-winzip32-exe-fails-intermittently-when-run-under-a-sql-server-agent-job.aspx
    Arthur My Blog

  • Process tasks notifications

    Hello,
    in the design console, we can send notifications to assignee, requester, user and user's manager.
    Is there any way to send notifications to other people? a (dynamic) group for instance?
    Or should I write my own adapter which would call some custom code to send the email?
    Thanks.

    Hello,
    ok, looks indeed a better way than custom mail. however, if I create a task and assign it to a dynamic list of users (through java code adapter), won't that task be considered as a provisioning task? I don't want these users to go to OIM UI to do anything at that moment...
    Is there any sample code for a java code adapter of task assignment type?
    also, until now and your message, I didn't understand that the "adapter" column in the assignment tab of process task was there to provide custom assignees (http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/promgt.htm#BCEJHFBF does not explain it...)
    thanks!

Maybe you are looking for

  • ITunes Won't Load on Windows 7

    ITunes won't load since the last update.  I tried updating to the new beta version, and it still won't load.  I have lost my contacts on my iPhone and now I can't load iTunes.  I do have another computer running an older version of iTunes and would l

  • ITunes loads unchecked playlists onto ipod.

    Hello: My iTunes continues to load TOP 25 MOST PLAYED SONGS, even though it is not checked for syncing. Can anyone please help me? Thank-you.

  • S_ALR_87012357 report - Balance of all company codes

    Hi, We are working on a SLO project. We have merged 5 clients systems into 1. totally we have 15 company codes in one client. 0001 company code is for Berlin and it is reflected in T001 table . the T000 table, country field is displaying New york. I

  • Selected Keywords do NOT all get written to selected files. bug

    have discovered and confirmed with adobe tech support a bug with adobe bridge cs4 not writing keyword metadata tags to multiple selected files.. PSD files and raw,jpegs when selected with PSDs fail to write metadata keywords to file. If you select a

  • Passing parameters into ODI procedure step which has an OS command

    Folks, I have an ODI procedure step which does a directory listing for a specific directory. The command I am using is cmd /C dir d:\local_dir /b > D:\dir_list.txt I have put on the 'Command on Target' tab. This works fine I want to remove the hardco