How the parameter passes the dynamically personalized Planner

Hello

I'm new to IOM.
Need your help passing parameters dynamically to the personalized Scheduler.

I created Planner customized by providing support for the task.
I recorded the plugin via API, using the PlatformService.registerPlugin () method.

I need to send the parameters of this CustomScheduler, so I defined in the metadata (CustomScheduleTask.xml) as a file below and get it imported in DB
using the script weblogicImportMetadata.sh by providing the path of the file.

< scheduledTasks xmlns = "http://xmlns.oracle.com/oim/scheduler" >

< task >

< name > CustomScheduleTask < / name >

org.schedule.custom.task.CustomScheduleTask < class > < / class >

< Description > details the user_id data extraction < / description >

< retry > 5 < / re >

< Parameters >
< string-required param = 'true' helpText 'Username' = > user name < / param-string >

< / Parameter >

< / task >

< / scheduledTasks >

IAM able to import this plugin as well as the register the plugin successfully. Now, I set a task to which this Custom Tachesplanificateur is mapped.
Now, in order to run this job (scheduled task), I need to provide the user name (or id) which must be sent as a parameter for the Scheduler must be running.
But when you set the task with this scheduled task on the IOM console, I was not able to define or to pass parameter to this work. Therefore, the parameter is null in
CustomSchedule execute method.

Kindly help me how to pass the parameter dynamically during execution of the Task Scheduler console of IOM so that the execute method would be able to receive it.

Thank you in advance.

Kind regards
Kumar

Hello

When you created the schedule the job for your personalized planning task, you should see your login name of textfield in the scheduled task. If this isn't the case, then it check your xml task calendar.

In your class calendar code, add:

public void execute (HashMap arg0) {}
Final string METHOD_NAME = ' run: '; "
Logger.Debug (CLASS_NAME + METHOD_NAME + "Input method - run");
try {}

String LoginName = arg0.get ("username");

Kind regards
Sunny

Tags: Fusion Middleware

Similar Questions

  • How I created the dynamic personalized stamps for the PDF stamp with?

    Trying to create a dynamic custom stamp, so that I can stamp PDF with either "reviewed" or "refused" to a given date and time

    Some tutorials

    https://acrobatusers.com/tutorials/filter/search&keywords=dynamic+stamp&channel=tutorials& category = 13 & tut_type = video + OnDemand + graphics + HTML.

    Be well...

  • How the dynamic Action to update several items based on a JavaScript Expression producing a table?

    Using APEX 4.2.

    I have the list of selection using a LOV which returns a display value and a value separated by a comma e.g. return 'reserved to items' and "66,88" or "Available items" and "90,23".

    I want that return values for example "66,88" to be assigned to two my form fields.

    I have a dynamic action that fires when the field with the changes of the list/select-LOV. I am using an action of 'Set value' and set 'Expression JavaScript' with the expression itself type value ' $v("P1_MY_SELECT_LIST").split(",") and using Type "Article (s)' selection and listing the two points that I want to set as the items in question (from the description of the JavaScript expression field it appears that a table of the results would be assigned to the changed items , in the order.

    However, the original value of the LOV return value is passed to the first of the elements concerned (complete with the comma if the original return value was of the form '10')

    If I add more REAL action of the JavaScript "alert (" HELLO "+ $v ("P1_MY_SELECT_LIST") .split (", ") [0] +" WORLD "+ $v("P1_MY_SELECT_LIST").split (", ") [1]" ") I * see two expected values.»

    Any ideas what I could do wrong?

    The action 'Set value' affects the value specified to all affected elements: a value to one or more items. To set a different value at different points, you need several actions "Set value", or simply use javascript to do it in one.

    Even if you use a javascript expression that corresponds to a table, the table is just being converted to a string again. It creates a mapping of some sort. That is why for example with '10', she also translated as such. Actually you set this value to these two elements: ' 10, ".split(",").toString () (implicit in the chain of course).

    The code makes it very obvious that it doesn't handle values, as described in the help of the element. Aid is not correct or is the implementation simply not here yet?

    Just look at the javascript for dynamic actions, images/libraries/apex/dynamic_actions.js, service da.setValue directory file:

        function _setValue( pValue ) {
            lAffectedElements$.each( function( i ) {
                // Set all affected elements to the value passed
                $s( this, pValue, null, lSuppressChangeEvent );
            });
            /* Resume execution of actions here and pass false to the callback, to indicate no
            error has occurred. */
            da.resume( lResumeCallback, false );
        }
    

    And when you use a javascript expression:

        } else if ( lSetType === "JAVASCRIPT_EXPRESSION" ) {
            _setValue( lJavaScriptExpression.call( this ));
    

    It's pretty simple. (and this is checked on apex 5. It's the same on 4.2)

  • How can I pass a table personalized with an image?

    I have a graph embedded in the Master Page at the beginning of each chapter like that.

    HomeSafety.png

    I created a table looks without borders without the data I want to place it above the image, so it seems that the text is typed on paper for laptop. I apparently it can't add to the Master Page, but I can't seem to find a way to do this on the body Page either. The table is the same as in my previous question but included here again reference. While the borders are obvious here, I have to turn them off when I get this place. Merged cells are graphics that will change at each lesson. Enjoying this forum as always. Someday, I hope that I have enough knowledge to help other people here...

    TableExample.png

    Thank you

    Laurie

    I come to realize I've said thank you or one of your suggestions. I had to change the Runaround disorder AND a bunch with the line height, but it seems fine now. Thank you!

  • How to pass the dynamic parameter to a function of database in OBIEE

    Hello

    I have a requirement like this. I need to create a report in OBIEE which stood in the discoverer. Now in the Scout report there is a calculated item in the worksheet based on the pkg.functions database. The user setting which gives the runtime parameters are then passed to the discoverer calculated elements dynamically. But I am not able to do this in OBIEE answers.

    Can someone tell me step by step how I can able to transmit the values of user setting selected in the level of response OBIEE.

    The example:

    GET_COMM_VALUE_PTD ('cost AFE & commitment'. ID of the AFE,: ' name at that time (AFE) ', 'cost of the AFE & commitment '. Salt of data, 'cost of the AFE & commitment '. The org ID)

    GET_COMM_VALUE_PTD - database function
    ('Cost AFE & commitment'. ID of the AFE,: ' name at that time (AFE) ', 'cost of the AFE & commitment '. Salt of data, 'cost of the AFE & commitment '. org Id - settings...: "period Name (AFE)" is the dynamic setting of the execution by the user.


    Help, please.

    Thank you

    Titas

    Hello

    Please see this link.

    http://satyaobieesolutions.blogspot.in/2012/08/database-evaluate-function-database.html

    This can be help you.

    Thank you
    Satya

  • Dynamically Open VI and him pass a parameter to the dynamically open VI

    I want to open a vi dynamically, at the same time I have to pass a parameter to the dynamically open VI. Is it possible to do?

    Thank you

    Chrystelle Roy

    Passionate about LabVIEW

    Check here https://zone.ni.com/reference/en-XX/help/371361M-01/lvconcepts/dynamic_loadcall_vis/

  • How to pass the Record of entry to the dynamic SQL Code

    Hi all

    I am trying to run under Oracle applications API on the remote database using DB Link. I try to run using dynamic SQL. Part of the code is given below.

    DECLARE

    l_batch_info_rec wsh_picking_batches_pub.batch_info_rec;

    l_rule_id NUMBER;

    l_rule_name VARCHAR2 (240);

    l_batch_prefix VARCHAR2 (240);

    BEGIN

    l_batch_info_rec.document_set_id: = v_document_set_id;

    l_batch_info_rec.order_type_id: = v_order_type_id;

    l_batch_info_rec. Default_Stage_Subinventory: = v_default_stage_subinventory;

    l_batch_info_rec.pick_grouping_rule_id: = v_pick_grouping_rule_id;

    l_batch_info_rec.pick_sequence_rule_id: = v_pick_sequence_rule_id;

    l_batch_info_rec.autopack_level: = v_autopack_level;

    l_batch_info_rec.autopack_flag: = v_autopack_flag;

    l_batch_info_rec.ac_delivery_criteria: = v_ac_delivery_criteria;

    l_batch_info_rec.backorders_only_flag: = v_backorders_only_flag;

    l_batch_info_rec.existing_rsvs_only_flag: = v_existing_rsvs_only_flag;

    l_batch_info_rec.customer_id: = v_customer_id;

    l_batch_info_rec.order_header_id: = v_header_id;

    l_batch_info_rec.from_scheduled_ship_date: = NULL;

    l_batch_info_rec.organization_id: = v_organization_id;

    l_batch_info_rec.include_planned_lines: = v_include_planned_lines;

    l_batch_info_rec.autocreate_delivery_flag: = v_autocreate_deliveries_flag;

    l_batch_info_rec.autodetail_pr_flag: = v_autodetail_pr_flag;

    l_batch_info_rec.allocation_method: = 'I ';

    l_batch_info_rec.pick_from_locator_id: = NULL;

    l_batch_info_rec.auto_pick_confirm_flag: = 'n';         -The value manually to run Transact order

    l_batch_info_rec.autopack_flag: = 'n';         -Manually configure to perform the manual packaging

    l_rule_id: = NULL;

    l_rule_name: = NULL;

    l_batch_prefix: = NULL;

    v_sqlstmt1: = ' START

    wsh_picking_batches_pub.create_batch' | g_db_link | "(1.0,

    fnd_api.g_true,

    fnd_api.g_true,

    : l_return_status,.

    : l_msg_count,.

    : l_msg_data,.

    : l_rule_id,.

    : l_rule_name,.

    : l_batch_info_rec,.

    : l_batch_prefix,.

    : p_new_batch_id

    );

    END;';

    --

    EXECUTE IMMEDIATE V_sqlstmt1

    With the HELP OF THE l_return_status,.

    ON l_msg_count,.

    ON l_msg_data,.

    BY l_rule_id,

    BY l_rule_name,

    BY l_batch_info_rec,

    BY l_batch_prefix,

    OUT p_new_batch_id;

    --

    END;

    After you run this script, I get below error "PLS-00457: expressions must be SQL types ' for variable l_batch_info_rec which is of type record. can someone please guide me how can I pass variable type dynamic SQL record.

    Thank you

    Priyanka

    Food for thought:

    On remote db:

    SQL > create or replace
    package 2 pkg
    3 is
    4 type r_type is (record
    Number 5,
    6 name varchar2 (10)
    7                            );
    (p) 8 procedure
    9 p_rec in r_type,
    10 p_out out varchar2
    11                  );
    12 end;
    13.

    Package created.

    SQL > create or replace
    package 2 body pkg
    3 is
    4 procedure p)
    5 p_rec in r_type,
    6 p_out out varchar2
    7                  )
    8 is
    9 start
    10 p_out: = "ID = ' |" p_rec.ID | 'Name =' | p_rec. Name;
    11 end;
    12 end;
    13.

    Package body created.

    SQL >

    On local db:

    SQL > set serveroutput on
    SQL > declare
    v_rec 2 pkg.r_type@pdb1sol12;
    3 v_out varchar2 (50);
    4 start
    v_rec.ID 5: = 1;
    6 v_rec.name: = 'XXX ';
    7 immediate execution"
    8                        begin
    9 pkg.p@pdb1sol12 (: 1,: 2);
    10                        end;'
    11 using v_rec,
    12 v_out;
    13 dbms_output.put_line (v_out);
    14 end;
    15.
    using v_rec;
    *
    ERROR on line 11:
    ORA-06550: line 11, column 20:
    PLS-00457: expressions must be SQL types
    ORA-06550: line 7, column 5:
    PL/SQL: Statement ignored

    SQL > declare
    2 number of v_id: = 1;
    3 v_name varchar2 (10): = 'XXX ';
    4 v_out varchar2 (50);
    5. start
    6 immediate execution"
    7 report
    8 v_rec pkg.r_type@pdb1sol12.
    9                        begin
    10                            v_rec.id  := :1;
    11 v_rec.name: =: 2;
    12 pkg.p@pdb1sol12 (v_rec,: 3);
    13                        end;'
    14 using v_id,
    15 in v_name,
    16 v_out;
    17 dbms_output.put_line (v_out);
    18 end;
    19.
    ID = 1 name = XXX

    PL/SQL procedure successfully completed.

    SQL >

    SY.

  • How the parameter values can be passed to OBIEE reports of the user interface

    Hello

    Does anyone have an idea on how to pass parameters to the UI (user interface of a java application) to
    OBIEE report page. Based on the value of the parameter passed, the report page should be displayed for ex: the product
    name must be selected in the user interface, then the page of the report must show sales for this product
    Alone.can u please let me know how this can be achieved. Any help would be appreciated.

    Thank you
    Leela

    Hi Leela,
    What you're looking for can be accomplished with GO URL, see here:
    http://download.Oracle.com/docs/CD/E12096_01/books/AnyWebAdm/AnyWebAdm_APIWebIntegrate6.html#wp1005251

    Kind regards
    Alastair

    Published by: AlastairB_UK on October 26, 2009 15:27

  • How to customize the Workbench eam planner form

    Hi all

    with regard to the requirement of the customer having to disable under Tools-> TEC parameter... as a planner Workbench, is form of java beans there is no option to criminal offence.

    How can disable "WIP setting.."

    Kind regards

    Mohan Reddy

    I found the solution

    1. create a submenu "Setup", which is the same as the Configuration submenu in the menu 'Enterprise Asset Management.

    2. make sure that you do not encounter the the under menu "EAM_WIP_SETUP".

    3. now, create a custom EAM resposibility that is the same as "Enterprise Asset Management" with the submenu custom installation.

    4. now assign this responsibility personalized to the user.

    5. connect to this responsibility and try to access the installation parameters in the Scheduler work bench

    You will get the following error.

    "feature is not available for this responsibility."

    In this way we can disable the settings of wip

    Kind regards

    Mohan Reddy

  • How can I get a dynamic mic to work on the iMac?

    How can I get a dynamic microphone to work via the usb input? Do I need a plug-in?

    Well Yes, if it is a USB microphone, the support is to plug.  Note, Apple provides an Audio configuration and Apple Midi utility in Applications-> utilities that once connected develops on the parameters in the menu-> Preferences-> sound-> entry

    Some microphones require Mac OS X drivers.  It would therefore be important to determine if yours is a.   Google your brand and model micro with Mac OS X and the drivers of Word to see if someone needs.

  • How to have separate conversations w / the same person in messages app

    Hey guys,.

    is it possible to have several conversations with the same contact but different addresses in the messages (El Cap) application?

    My problem: I have two conversation with the same person: I text him through iMessage using his e-mail and SMS (phone number, no iPhone) that appears in the application messages through continuity (or let do or what they call that). However, the iMessage cat and the cat of text message (which is separated on my iPhone) is mixed in a chat on the Mac (which is a mixture of blue and green bubbles). And when I type a message on the Mac it's a lottery if it will be sent as a text message or an iMessage. On the iPhone, it is clearly separate.

    How can I have discussions in the messages.app on my Mac?

    Thank you

    Phil

    Hello

    Create different Contacts card for him.

    21:13 Tuesday; 24 may 2016

     iMac 2.5 Ghz i5 2011 (El Capitan)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     iPhone and iPad (2)

  • How can I get my Firefox persona to work with the new version of Firefox?

    It worked fine, then my computer automatically updated Firefox and my persona background disappeared. It is listed as active on the backgrounds of modules in the modules Manager. I Foxkeh tail stir. I went and reinstalled but it still does not come. I went to the personas firefox page and tried to install a different character. NONE of them work now. How can I get my background persona back?

    Make sure that you are not Firefox running in (permanent) private browsing mode.

    • Tools > Options > privacy > Firefox will be: "use the custom settings for history".
    • Uncheck the box: [] "always use the navigation mode private.

    When you're in private browsing mode then the character is disabled and you get the default theme and a purple icon of PB in the menu button on the side of the right end of the menu bar (bar of tabs on Linux) or Firefox and "(navigation privée)" added to the title bar. "

  • I am trying to download an application on my cable company, but it won't be over because my computer 'administrator' will not allow him. How to solve this. I'm the only person using the computer.

    I am trying to download an application on my cable company, but it won't be over because my computer 'administrator' will not allow him. How to solve this. I'm the only person using the computer.

    Start > run > control userpasswords2 > OK

    will take you to what you need to access and change permissions for logon not required

    On the users tab uncheck users must enter a user name and password to use this computer

    other options are available to facilitate access

    If a default administrator password has been entered it would probably be adminpass or empty field

    In both cases, it would be entered twice or white field, then move the cursor to confirm the blank

    as non-existent password then confirm white... you see an empty field is itself a password.

  • How can I not access a file if I am the only person using the computer?

    If I'm the only person using the computer, I'm the administrator? How can I deny access to all users. documents? I'm trying to set up Quickbooks and realized that I have limited access.

    Hello

    You can try the troubleshooting provided in the link below steps to fix the problem.

    "Access denied" error message when you try to open a folder

    http://support.Microsoft.com/kb/810881

  • someone at - it an idea on how I can get counter strike so run faster on my pc and not so little = specific, is the first person shooting game and not looking to spend money? Please and thank you!

    someone at - it an idea on how I can get counter strike so quickly on my pc and not so fragmentary and lag., is the first person shooting game and not looking to spend money?  someone help me please! and thank you!

    # You have not given any information, except for what you are trying to run.

    As far we know you run with some processors Sempron/Celeron and 512 MB shared memory with an on-board video camera.  In addition, you might have a suite of protection oversized running on your system to keep you safe from Internet predators and a bunch of other things you love continues to run in the background.

    Here again, you can have a dual core or higher processor 1.8 GHz or more fast speed with 1 GB or more of memory and a 512 MB or higher video card (do not share memory with the system) which has installed the most recent drivers.  Also you can have only a basic product antivirus running, by using the built-in Windows Firewall and you want to keep your system with as little as possible run so that most of your resources are available.

    Probable - in any case - other than generalities such as:

    (1) make sure that few runs when you play the game (with the exception of the game) as possible.
    (2) make sure that you have the latest video card driver installed for your video card.
    (3) make sure that you have the latest driver installed for your motherboard chipset.
    (4) make sure that you have the latest audio driver installed for the audio device.
    (5) make sure that you have the latest network driver installed on your device on the network.
    (6) run the game with its smaller settings with the same extras disabled as you can stand it.  Shadows are nice - but will slow down your system.

    And the advice that you said that you do not want to (while remaining general because we do not know the details of your system):

    (1) buy a more grand/more fast video card to replace yours.
    (2) buy more memory system in case you run low during playback.
    (3) replace your processor with the highest that will take care of your particular motherboard.

    And the most extreme:

    (1) buy a system that has a little above the minimum specs for the best interpretation of this game is that you are trying to play.

Maybe you are looking for

  • El Capitan 10.11.6

    Hello I tried to download the update of El Capitan 10.11.6 When I try and restart to install the update nothing happens. Also the Finder is now disabled (Application not responding).

  • suddenly all my photos into iPhoto

    I had my pictures organized by date and also in albums.  Now they say that they are presented in rolls, but they are not.  More disturbing is the fact that when you click on a small thumbnail (of what you call them) the image that appears is not the

  • Impossible to activate the Wlan on Satellite

    I recently got a toshiba satellite, the problem I have is that when I initially shot to the top of the laptop the wireless light was extinguished, and the Fn F8 combo did not work. After long created this light.However in manage wireless networks, it

  • How can I get a name of table 1, column A, if column B is a negative number and insert the names of table 2?

    How can I get a name of table 1, column A, if column B is a negative number and insert the names of table 2? What is the formula?

  • bad product for Win XP activation key

    Hello everyone that my wife was trying to buy me and my son a computer laptop and desktop and like all ladys a crook told him. not only it took him to many but installed burned copy of win xp on both. So im asking where can I buy 2 new product keys o