Passing the case tank to the plugin script

Hello!

My requirement is to pass the account ID and a characteristic value (setting ID) as an algorithmic input parameters, then to a Plugin script that will call a business service that will call a box query with two filter settings.

I created a query box that takes two parameters of filter and created a Business Service to call this area.
Also, I created a new script and a type of algorithm that references this script.

Now, I am facing difficulties passing the values of the UI (account ID & Char val) from the screen case to the algorithm.

Well can someone wanting to guide on how to transmit these values to the algorithm (and possibly to the area and business)?

Thanks in advance

AK

Hello

01 create a business for the MO, BO schema as case object below













02 include the case BO (CmCaseBO) in your plugin as a data area script
03. pass case Id in case BO
move 'parm, hard, case, id' to 'CmCaseBO/toDoCaseId ';
04. call your case BO
invokeBO 'CmCaseBO' using 'CmCaseBO' to read;
05. now your custom case bo will have details of cases including cases of characters
06. now move the account Id and value tank in your bo custom case to your Business Service, in turn, refer to the query area.
07 and call Business Service

Tags: Oracle

Similar Questions

  • Pass the Shell script variable to the plsql block

    Hello
    I have a shell script and pass the parameter of Shell script in a PLSQL block, I use the code but impossible to get any result, below
    Can someone help me with this issue?

    Shell script: test.sh


    * #! / bin/sh *.

    var1 = $1

    SQLPLUS = 'sqlplus-s ".
    Login = "gmisowner/gmisowner1".

    day ='$SQLPLUS $LOGON < < ++
    set the position
    Set feedback off

    Start
    select count () from mis_ref_codes where ref_description = & var1; *

    end;

    "exit";
    ++`

    echo $day

    Execution at the command prompt: >./test.sh Underline
    returns nothing

    1. I was hoping the count (*) in the number of lines in him select statement is stored in the day, but nothing returned as output of the plsql block
    the select statement above is an example, but I'll have to run a much larger plsql block

    I have syntactically doing something wrong? Please suggest

    Published by: Camilla January 14, 2012 12:35

    First of all you needget get rid of anonymous PL/SQL block:

    var1=$1
    
    SQLPLUS="sqlplus -s"
    LOGON="gmisowner/gmisowner1"
    
    day=`$SQLPLUS $LOGON <<++
    set heading off
    set feedback off
    select count(*) from mis_ref_codes where ref_description=&var1;
    exit;
    ++`
    echo $day
    

    But it still does not work. Your SQL * more script a proxy & var1. It has nothing to do with shel environment variable var1. That is why SQL * PLus prompts you to enter the value just after she readings

    Select count (*) in the mis_ref_codes where ref_description = &var1;

    And since you redirected input to your script, you must put value of var1, which isn't what you want, right? So what you need is:

    dev > # I'll set $1 to X
    dev > set X
    dev > var1 = $1
    dev > SQLPLUS = 'sqlplus-s ".
    dev > login = ' / '.
    dev > ='$SQLPLUS $LOGON < < EOF
    > set position
    > leave your comments
    > set verify off
    > select ' Have a nice day! "twice where dummy ="$var1 ";
    > "exit";
    > EOF'
    dev > echo $day
    Good day!
    dev >

    SY.

    Published by: Solomon Yakobson on 13 January 2012 15:17

  • How to pass the encrypted script Python DB pwd

    Hello

    I'm trying to set up a domain using the python script.

    The script looks as follows:

    CD (' JDBCSystemResource/MYConnectionPool/JdbcResource/MyConnectionPool')
    Create ('myJdbcDriverParams', 'JDBCDriverParams')
    CD (' JDBCDriverParams/NO_NAME_0')
    Set('DriverName','oracle.) JDBC. OracleDriver')
    Set ('URL', OS.environ ['DATASERVER_DB_URL'])
    together ('PasswordEncrypted', "user1")

    I hard code the password as "user1" in the script. While I want to encode the password in the script as it might be different in the production environment.

    I would like to encrypt the pwd and put in a file and reference the file here in the script. Reference this file can be stored in a variable env and then passed to the script as follows:

    Set ('PasswordEncrypted', os.environ ['DATASERVER_DB_PWD'])

    Can someone help me to find out how to encrypt the pwd and how I pass to the python script.

    Thank you
    Shalini

    Hello

    NOTE: If you enter a wrong password encrypted in the WLST script.. then it won't be visible in the AdminConsole...

    I understood what mistake you made. You could have the script WLST My pasted into your Machine directly and did not replace the pssword Encrypted (or maybe a few got wrong characters included in encrypted password by replacing in the WLST script ) with your own encrypted at heart... This is why you don't see any password in the password TextField... I m able to reproduce the same thing at my end... .with the same error.

    Please try this...

    Step 1). Open a Shell prompt...

    Step 2). Move inside your root directory of the domain, and then run * "setDomainEnv.sh" *.
    Example:
    C:\bea\user_projects\domains\base_domain\bin

    Step 3). Since your domain root directory, run the following command:

    Example:
    C:\bea\user_projects\domains\base_domain>Java weblogic.security.Encrypt PBPUBLIC
    4NT9WiBG7MXYBiEteLogvA {3DES} is

    Step 4). Now, change this value encrypted in the My WLST script...

    Step5). Now, run the WLST Script to create the data source.

    .
    .
    Thank you
    Jay SenSharma

  • Pass the protected script that allows the user to edit the content

    I work with a number of local groups but get busier with my schedule, I can't take the time to do the weekly band concerts or hourly updates. I saw a script a few years ago, allowing an end user (the band) to change their own webpage (in particular, the page of the annex). It is password protected so that only you can access the configuration of the page with the appropriate authorization. I forgot since the code and can't seem to find one similar to it. The unfortunate side effect was the page was very simplistic and did not much markup.

    Does anyone know of a code or a script like this?

    Thanks in advance.

    Anurag,
    That's what I have in mind. I'm a programmer/designer old enough, when I started writing code, it was all by hand and the concept of the CMS is really new to me. I've seen a few articles about it but did not know about the process. I definitely take your advice and looking around sourceforge and some other resources. The idea of the timetable is a good starting point, and I think that will be what I'm after.

    Thanks for the advice,
    Txwebman

  • Creation of Plugin Script

    Hi friends,

    I want to create script plugin for the algorithm, can someone pls explain me doubts to fund this plugin

    1. in the Plugin Script how can I get the sweet summer (as in the service script we have schema contains variables (parms) local to get values of ui)
    2. How can we include new hard parameters in entity algorithm (should we place use = output)

    My Requirment is the plugin script must take accountid, return the Boolean value by validating the amount as contracted.
    I tested this requirment with a simple user interface and service script using the Bussiness Service. How can convert to the plugin script service script

    To create the script of the plugin I take Ratecomponet as algorithm entity.here how I can get accountid and how do I send a Boolean indicator accordingly.

    Thanks and greetings
    Jean Jacques

    Your needs are a bit confused when you say "quantity under contracted", are you referring to the contract quantity defined on the Service (if maintained) contract? OR as you mentioned into account, is the "contracted" amount set on the account as a feature?

    If the latter, then you don't need any algorithm or plug-in Script for the task, you can configure component of the eligibility rate - criteria as 'Features' field and specify the account as the characteristic entity and choose the characteristic type. In addition, use rate component eligibility - comparison criteria and specify the logical operator to compare the recovered "contract quantity" on the account. Alternatively, you can also configure a rule of SQ with SQ 'Characteristic value' type algorithm and recover the amount "under contracted' account. In this case you can then have component eligibility rate - criteria "Quantity of Service" field, select the IQSE set to the rule of the SQ and make the comparison.

    If the first case, you define a rule of SQ (also configured on the fee structure) to extract contract quantity of a specific type on the SA and assign it to the table of your choice SQ.

    In both cases, you have need of a plugin Script custom / algorithm (I guess that the component rate - place criteria or the entity field).

    However, if you want to define an algorithm for rate - field criteria entity component, you should keep following points in mind (taking into account your needs):
    -Account Id is not available in the scheme of the given script, although his Id is available, so you would need a Business Service to retrieve the ID SA account Id
    -After evaluation, you must return a Boolean value for the following parameters 'exit', true or false:

    parm/hard/isSingleCriteriaFieldValue
    parm/hard/singleCriteriaFieldValue
    parm/hard/isCriteriaFieldFound
    

    -Later, compare the Boolean value under the component of the eligibility rate - comparison criteria and establish the conditions 'So real' and 'So wrong' according to your needs.

  • Add the name of vRA system deployed as input to a plugin script executed of powershell vRO

    Hello

    I vRA 7 vRO workflows advertising various customization of my Windows Server guests post. I now need to configure a few groups of domains and GPOS. I have the powershell code to do this, but need to understand how I can get vRA to call a vRO workflow that then runs the powershell code based on vRA system name.

    Basically, I provide the powershell script I run with powershell plugin on my PS host deployed vRA system name.

    How can I pass this variable hostname as input in the powershell script?

    See you soon

    Fixed. Presentation does not have what I needed...

    Just added a new scriptable entity task before the Invoke and external script. This was connected to the vCACVm parameter and the scriptArgs string attribute. New release of scriptArgs was passed to the string value of Arguments in Invoke script and external.

    The only required code was in this new task scripatable.

    scriptArguments = vCACVm.vmDNSName;

    The script now has sound

    $serverName parameter that is loaded with the VM name! Yay!

  • passing the keyStore to weblogic-maven-plugin (WLS 12.1.3) via command line

    Hello

    Currently, I'm trying to pass a key file (or trustStore) to the weblogic-maven-plugin

    12.1.3 WLS Server uses a self-signed certificate. I imported it in the (in the JRE) cacerts file. This way I can use the plugin to deploy an ear (on t3s :).

    What I want to do, is allow Jenkins CI servers to do the same thing. But using the default cacaerts included in the JRE fails (SSLHAndshake). And none of the d for the keystore settings seem to be picked up by the weblogic-maven-plugin?
    (as '-Djavax.net.ssl.keyStore =... ") »)

    Is it possible to let the plugin know what keyStore, it must use?

    I also tried to use the properties-maven-plugin to set these system properties. But it seems that the weblogic-maven-plugin runs in its own world...

    Any advice would be great!

    Thank you!

    There is a solution in Stackoverflow: http://stackoverflow.com/questions/6224787/weblogic-maven-plugin-with-ssl-problem

    :-)

  • To access the DOM properties added by another plugin script

    The IDML specification states the following: "If you add plug-ins that support scripting InDesign, objects, properties, enumerations, and methods may appear in the script object model, and new objects and properties may appear in the exported IDML. In addition, deletion or disabling plug-ins can modify the script and therefore object model, XML elements written in an IDML file. »

    So, is it then possible to access properties added by another plugin of your own ExtendScript when running? For example, if another plugin extends a character style to add their own attributes, could then read these properties in a script separate unconnected with this plugin? I can't get this to work. I can see the properties added when exporting to IDML, but I do not see them during an iteration on the DOM in Javascript?

    Hi szahnje,

    A plugin can expose its api to the scripting DOM, DOM idml or both. While the script DOM and DOM idml are closely related, they are not the same, then maybe the plugin does not expose the properties to the DOM, just the idml one script.

    If the plugin exposes a api for DOM scripting, then, of course you can use it. But, the plugin must be installed and enabled on the computer you run the script.

  • Plugin script send me the &lt; service &gt; tag contains too many subtags &lt; meteric &gt;

    I have a script that parses the logs and I want to collect information from the script and when I check the syntax of the plugin I get the < service > tag contains too many < meteric > subtags. What is c. Attached is the xml plugin

    Although "meteric" is a typo. It should be "metric".

  • How to pass arguments to the SQL Script in command prompt

    I don't know about the ' & nom_de_variable "to request a value in the command line.

    But, how can I pass arguments from the command line for the following script to the command - prompt

    Example:

    ex_proc. SQL

    CREATE OR REPLACE PROCEDURE ex_proc (employee_id NUMBE IN)
    IS
    v_emp_id Number (38);
    BEGIN

    v_emp_id: = employe_id;

    UPDATE emp_employee SET sal = 2000 WHERE emp_id = v_emp_id;

    END;
    /


    call_ex_proc. SQL

    Appellant for procedure above:

    BEGIN

    ex_proc (100); -The employee id is 100.

    END;
    /

    Here are the General controls that we use to run the scripts above-

    SQL > @ex_proc.sql

    SQL > @call_ex_proc.sql



    But my requirement is to pass the employee id as an argument in the command line as.
    SQL > @call_ex_proc.sql 100

    Is it possible to pass command line arguments?

    Usually this question start with reading documentation, wouldn't it?

    Solomon Yakobson showed you the method gross and unreadable.

    You will use best

    set = '& 1' '.

    -use & in the rest of the code

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • Why "check to see if the Plugins are up-to-date" web page is ALWAYS case SENSITIVE?

    When I go to 'Tools' / 'Plug-Ins' and click on 'Check to see if the Plugins are up-to-date' he going to Mozilla to check your Plugin Page, but fails to see the plugins or plugins active update status. ( https://www.mozilla.org/en-US/plugincheck/?utm_source=firefox-browser & utm_medium = firefox-browser & utm_campaign = plugincheck-update ) I use OS X 10.10.3 / Firefox 37.0.1 / March-14-2015

    Tried re-installing original report, clear cookies, clear cache and start in Safe Mode, nothing is. Another ridiculous control and there is never any support when things go wrong. Unfortunately, I have received no professional concern, with a competent cause and healing. None. And I had pointed out to me this problem since Firefox 35.0.

    Need info and a difficulty, for months now! Thank you! Whitebuck

    Always ask why, you lose users?

    It is possible that one of your modules (you need many of the privacy modules) is blocking the site, it works for millions of users per day.

    Maybe try to test a fresh Firefox profile? Use the Profile Manager to create and delete profiles Firefox

  • Pass the JavaScript array to the method java plugin

    Hello
    How can I pass an array from javascript to java method?
    I've specified java method as type '[MyClass =" param in vso.xml
    But, I am getting error in passing the following Javascript to the Java method:
    "Could not convert 7.6897897E7 in [MyClass].
    Concerning
    Sameer

    Hi Sameer,

    Your Java method signature expects 4 parameters, but you are passing 5 your JavaScript action. There is an extra parameter (the contextId) I think, which causes timestamp be mapped to layer2FirewallRules . This is why it is said that it is unable to convert a number to a table.

  • I don't have the button 'export the layer to files. In any case to redownload the default scripts?

    Well I'm doing a flip book House in Photoshop CS5 and tries to save the images.

    I imported a video and converted into individual layers for each image.

    Now I'm trying to save it by going in "file > Scripts > layer export to files and there is no option in my Scripts tab at all."

    When I go on "file > Scripts all that are in there is just 'Browse'."

    Then when I click on 'Browse' it just takes me to the folder where I opened the PS file.

    Anyone has an idea on how I can get back the default scripts?

    I have even not all scripts to export layers, which is something I do often.

    Location depending on the version of the OS and Photoshop script must be in the Photoshop presets for example, Scripts Windows 7

    "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit) \Presets\Scripts\Export layers to Files.jsx"

    Do a search on your drive to "Export layers to Files.jsx" where the file has been moved.  Other wise get it back from your backup system or reinstall Photoshop on top of itself to recover the missing files.  You won't lose you Photoshop preferences and responsible actions etc. your setting is not overwritten.

  • 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

  • How to pass the session IMAQ to the Subvi

    Hello

    My experience with LabView is neither very good nor extended. I am a scientist and I'm with IMAQ data acquisition. My current problem is that the people who wrote the script is modular, versatile, or clear initially structured. So I try to reduce the ridiculous number of tests in a simple flowchart to a level that people can actually understand it... and to make the more versatile script for future experiments.

    I'm introducing quite a few subVIs to be executed repeatedly. However, I can't know how to pass the IMAQ session on the Subvi. I constantly get the error messages. In this case, I want to acquire images with OIDE_CollectFrame.vi controlled by OIDE_TrialPhaseCollect.vi. I couldn't understand how to assign the refnum IMAQ session class, either.

    It is probably a newbie question, but usually I program with LabView.

    Dennis


Maybe you are looking for