Dynamic properties in a process

Hi everyone,
I am trying to find a solution to create some dynamic properties in my process.
JPD are good but too many things are hard-coded and changing them needs the project
to be recompiled :(
My aim is to remove most of the hardcoded values and let the administrator set
them later at the deployment time.
Do you have any idea if it is possible to add custom dynamic properties that could
be edited in the same way as the service broker control ?
Moreover some of the process settings are in the javadoc (such as the delay for
a timer path, the amount of retry for an exception etc..)
Is there any solution to set them at the runtime ?
Thanks for any help/idea you could provide,
Mael

You can get the task infromation by calling the task control method TeskInfo getTaskInfo()
"raja v" <[email protected]> wrote:
>
Iam using WebLogic8.1 Integration BPM feature. I've designed a Worklist
based application.
In the business process, i've to call a java class method from the business
process
which takes the process instance and task related properties (viz. the
task id,
task name, the current actor etc.). How could i supply these values from
within
a business process.
Regards
Raja V.

Similar Messages

  • How can i set dynamic properties in HTTP Binding adapter  at run time

    Hi,
    I am trying to put dynamic properties in HTTP Binding adapter at run time. I am able to Set endpointURI, UserName and Password dynamically using below code.
    Is it possible to set Version , Retry Count, timeout, authentication type at run time.
    below is code for setting endpointURI, UserName and Password dynamically.
    <invoke name="HttpInvoke" bpelx:invokeAsDetail="no"
    partnerLink="SACS_Http_Adapter"
    portType="ns1:Request_Response_ptt" operation="Request-Response"
    inputVariable="HttpInvoke_Request-Response_InputVariable"
    outputVariable="HttpInvoke_Request-Response_OutputVariable">
    <bpelx:toProperties>
    <bpelx:toProperty name="endpointURI" variable="inputVariable"
    part="payload" query="@endpoint"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.username"
    variable="inputVariable" part="payload"
    query="@username"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.password"
    variable="inputVariable" part="payload"
    query="@password"/>
    </bpelx:toProperties>
    </invoke>
    Thanks,
    Siva
    Edited by: 929920 on Apr 25, 2012 7:45 AM

    Hi Bastain,
    Assuming your using the Batch Process Model, you can programatically insert a new SN into the correct parameter in the postUUT callback sequence.
    This sequence has access to the UUT.SerialNumber parameter so you can use a File Global to pass the SN from the main sequence to the postUUT callback. 
    Here is an example of what I mean. 
    Adam
    Attachments:
    set SN within Main Sequence.seq ‏80 KB

  • How to clear grey loading screen and animated gif (Dynamic Action with "Show Processing" on submit)

    APEX V4.2.3
    DB 11.2
    I have a classic report on page 1.  I have a region button called "Export" (defined by a submit dynamic action with "show processing=Yes") that submits the page and then via a branch directs me to page 2 which has a slightly different version of the report on page 1 (i.e. no breaks) which I want to capture as a CSV export.  Therefore I've set the report template on page 2 to " Export:CSV".
    Now when I click on the page 1 export button the grey screen and loading gif appears indicating that the report is executing and then as expected, page 2 doesn't appear but instead the standard open/save window's dialog box appears asking to open or save the generated CSV file.  All good..but the grey loading screen remains.  How do I clear this loading screen and get back to the context of page 1 ?
    thanks in advance
    PaulP

    Hi PPlatt,
    We would love to help but you left out one crucial part of the puzzle: namely how does your CSV report get exported. With the way it is setup (a redirect to another page), I'm going to assume you do that because you have some PL/SQL on that page that prints the CSV.
    Now there are two questions that are crucial here:
    - How do we stop the icon from bugging us on the screen
    - How do we communicate with the browser that it should no longer display the loading icon
    The first question is rather easy, two simply lines of codes can do that:
    $('#apex_wait_popup').hide();
    $('#apex_wait_overlay').hide();
    But when do we use this code? Quite simple when the document is downloaded. When is it downloaded? At the end of the PL/SQL code that prints the document to the browser.
    What you could do is at the end of that code give an application item a certain value. For example :AI_PRINTED := 'Y';
    Then all you need to do is let the browser ask for the value. You could do this by using JavaScript to continuously fire AJAX to the server using a JS timing event:
    http://www.w3schools.com/js/js_timing.asp
    Better would be a Server send event, but since you left out another crucial piece of information: your browser, I will not go deeper into this.
    Start this timing event when someone asks for the document, and end it as soon as the process returns that :AI_PRINTED equals 'Y'.
    Despite the lack of information, I hope I have given, or at least inspired you to get to the solution.
    Regards,
    Joni

  • Using dynamic properties in an Instance property

    Is there a way to take the output of a dynamic properties variable (from PROP_LIST) and use that variable in an InstanceProperty tag so that the InstanceProperty is pre-filled out on the display? The idea would be to have a dynamic properties variable be set to "sometext" and then have an InstanceProperty tag be pre-filled out in the UI with "sometext". That way users adding a target get a suggested default value for the InstanceProperty but can still modify it if needed.

    If I understood your requirement correctly, you want some default value to be displayed for a Instance Property, on the Add Target page. If my understanding of your requirement is right, please read on...
    This is very much possible. All you have to do is...
    <InstanceProperty NAME="snmpOSPort" OPTIONAL="TRUE">
    <Display>
    <Label NLSID="tgt_type_port">SNMP Port (Default :161)</Label>
    </Display>161
    </InstanceProperty>
    The "161" besides the "</Display> is the default value which you have defined in your metadata XML file. This value would be picked up automatically on the Add Target page.

  • Error editing task sequence: Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" From XML into WMI

    I've started getting an intermittent error editing my Windows 7 OSD task sequence.  Sometimes I can open the TS to edit, but when I try to apply changes I get the error.  Other times I get the error when trying to open the TS.  If I try again
    right away, I still get the error, but if I wait a few minutes and try again sometimes it will open the TS. 
    The error reads:
    ConfigMgr Error Object:instance of SMS_Extended Status{Description = "Failed to load dynamic properties for class \"SMS_TaskSequence_ApplyWindowsSettingsAction\" from XML into WMI";Error Code = 2147943746;File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\ssptspackage.cpp";Line = 3454;Operation = "ExecMethod";ParameterInfo = "SMS_TaskSequencePackage";ProviderName = "WinMgmt";StatusCode = 2147749889;}
    Coinciding with this error, I show the following entries in the TaskSequenceProvider.log file: 
    [PID: 7608] Invoking method SMS_TaskSequence.LoadFromXml
    TaskSequenceProvider
    Failed to protect memory buffer, hr=0x80070542
    TaskSequenceProvider
    Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load node Apply Windows Settings from XML into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "PostInstall" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "Execute Task Sequence" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load XML for the task sequence into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    [PID: 7608] Done with method SMS_TaskSequence.LoadFromXml
    TaskSequenceProvider
    Setting status complete:  status code = 0x80070542; Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI
    TaskSequenceProvider
    I exported the task sequence and checked in "object.xml" for the "ApplyWindowsSettingsAction", to see if there was something odd in the xml, but I don't find anything that jumps out as being wrong.  Here's the section of XML for
    that step.  I've removed identifying info, and replaced it with a generic term in bold.
    <step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">COMPANY NAME</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">COMPANY NAME</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">Central Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDDomainName" property="DomainName">DOMAIN.COM</variable><variable name="OSDJoinPassword" property="DomainPassword"></variable><variable name="OSDJoinAccount" property="DomainUsername">DOMAIN ACCOUNT</variable><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">0</variable><variable name="OSDAdapterCount" property="NumAdapters" hidden="true">0</variable></defaultVarList></step>
    Is there any other log I should check for a clue on this issue?  What could be causing this error?

    Thanks for sharing that!  I tend to save contacting MS support until after I've exhausted other options.  I'm always afraid that I'll spend the $500 to open a case and then it turns out to be something simple that I would have found if I had just
    kept working on it myself a little longer.
    It looks like that link is for an update released in February as KB3023562.  I downloaded and installed it. I'll try opening/editing/saving the task sequence a few times today to see if the issue is resolved.  
    After I had already installed it, I thought to look up that update in configmgr.  The update is listed as superseded by 2 other updates.  The newest of those is KB3046049, which just installed last night with the other March patches, so it's possible
    that I didn't need to install KB3023562 after all.  

  • Dynamic properties working in "normal KM" but not in XML forms

    Hi all,
    (EP 6.0 SP13)
    I've implemented a Metadata Extension that returns a list of properties. The list is dynamically generated based on the folder the document is located in. I've tested the Metada Extension on both existing documents and new documents and it works fine in "normal" KM scenarios ( Word documents, file uploads, etc.).
    The problem arises when I want to use these Dynamic properties in XML forms. I've added my property to a combox  in the XML Forms project. When accessing the Metadata Extension from XML forms the resource path is always null. Since all my business logic is based on knowing where in the KM structure the document is, I have a small problem...
    If I go to Details->Properties on the xml forms document and accesses my property there, the path is correct..
    To get the resource path I use these two methods:
    folder = metaContext.getResourcePath();
    (for newly created documents)
    folder = metaContext.getResource().getParentCollection().getRID().getPath();
    (for existing documents)
    these are null when calling my Metadata Extension from a XML Form.
    Any ideas?
    Vegard

    Hi Vegard,
    Could you post the code that loads/create the property objects dynamically?
    Maybe you can post it at this forum Dynamic properties working in "normal KM" but not in XML forms
    so I can award you some points.
    Thanks in advanced,
    André

  • Export/Report on dynamic properties in SQL Data Modeler

    I'm thinking of using dynamic properties to hold meta-data in SQl Data Modeler, but I can't find a way of exporting or reporting on this info once I have created it.
    Am I missing something?
    Regards,
    John

    John,
    you can download DM 4.0.1 - dynamic properties can be included in custom report templates and into generated reports.
    Philip

  • Generating dynamic Attachments between bpel process activities

    Dear Experts,
    Please suggest me that how to handle dynamic attachments in BPEL process with JDeveloper.
    The requirement was need to send an attachment between activities in same BPEL process
    and not sending an attachment through mail.
    For Instance consider a scenario "Need to issue an appointment order(Activity3) for the candidate if he successfully completed his assigned task(Activity1) and selected(Activity2)".
    Thanks ,
    Rajesh
    Edited by: Rajesh A on Mar 9, 2009 11:30 AM

    Hi Rajesh,
    That's a nice requirement without using the Notification services to send the attachments.
    However, this can be achieved using the workflow service tasks as mentioned in : http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/workflow.htm#BABCAIEF
    Using this you can assign, play with attachments via tasks. Hope this helps to some extent!
    Regards
    Anirudh Pucha

  • Finding dynamic properties

    Hi all,
    I have a relatively simple question but couldn't seem to find
    an answer online. I'd like to know how you can determine what
    dynamic properties are contained in an object. For example, if I
    had an Object and did something like obj["foo"] = "bar" and
    obj["bar"] = "foo", what would I need to do to know this object
    contains the properties "foo" and "bar"? I know the for ... each
    loop constructs do this but I don't know how to do this myself.
    Thanks in advance.

    If you take this code and run it through the debugger you can
    see that it will return the properties of the obj Object and
    dynamically create and assign the values to the new Object newObj.
    Hope this helps.
    var obj : Object = new Object();
    obj.itemOne = "Boston Celtics";
    obj.itemTwo = "Boston Redsox";
    obj.status = "Champions";
    var newObj : Object = new Object();
    var objInfo1 : Object =
    ObjectUtil.getClassInfo(obj).properties;
    for each( var obj1:Object in
    ObjectUtil.getClassInfo(obj).properties ) {
    var item : Object = obj[obj1] ;
    newObj[obj1] = item;
    }

  • Creating a dynamic variable in bpel process

    hi
    I have a requirement i.e. how to create a dynamic variable in bpel process?
    Help me out with this....thanks.

    Open your bpel and look for and icon that looks like this... (x)
    http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_gsbpel.htm#CIADACJJ

  • Dynamic Filename in BPM process (SOAP with attachm. and PayloadSwapBean)

    Hello together
    I have the following BPM process:
    1. IDoc=>WebServiceRequest
    2. WebServiceResponse (payload) => IDoc
    3. WebServiceResponse (attachment) => File
    XI receivs an IDoc an map it to an WebService. The Webservice is called by XI and we receive the WebServiceResponse including a PDF attachment.
    The challenge is to store the PDF attachment with a dynamic filename from the payload of WebServiceResponse.
    We use the PayloadSwapBean to change the payload to the PDF attachment. But then we are not able to access the required information on the original WebService-XML-Response via variable substitution.
    Is there a solution in the standard or have we to use a custom adapter module?
    Thx
    manuku

    Hi Jayasimha,
    We can do this by "Adapter Specific Message Properties" of ur comunication channels.
    1.If u want to keep the output filename same as input filename, no need to use the UDF. only the 'adapter specific parameters' in both sender n receiver file adapter will do that.
    In case if u want to get the filename inside our mapping we have to create a user defined function
    which will return the filename and map it to one of our XML tags. 2nd point gives solution 4 that:
    2. If u want to generate an output file taking some input from the payload,then u hav to use the UDF.There u hav to populate the name.
    Pretty much.... if you set an attribute from the sender side, for example, you can use a UDF and access the particular attribute sent and use it in the mapping. In another example, where no attributes are sent from the sender, you can still actually set a particular attribute, say a filename derived from the payload, using a UDF, and enable the receiver attribute to use it. That's where the UDFs come in - either to get or set particular adapter specific message attributes.
    This will be a very helpful blog which solves ur query:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Vinod.

  • Dynamic configuration in integration process using abap mapping

    Hi everybody,
    i have the following scenario:
    file adapter -> integration process -> file adapter
    The integration process uses an ABAP mapping and sets the filename in dynamic configuration as follows:
    *-- Set Parameter
        clear ls_dyn_record.
        ls_dyn_record-name      = gc_dyn_config_name.
        ls_dyn_record-namespace = gc_dyn_config_ns.
        ls_dyn_record-value     = <new_file_name>
    *-- Write configuration
        ir_dyn_config->add_record( ls_dyn_record ).
    But now the new filename is not reflected in the file adapter (receiver). In the integration monitor (SXMB_MONI) i still find the old filename.
    Whats wrong?
    Elko

    The ABAP mapping is more complex, setting filename in Dyn. Conf. is just one step in mapping.
    If I check the Workflow protocol of the Integration Process, I find the following in the Trace of the ABAP-Mapping:
    The filename has been set to 3233340.SWNF00HW.P10I. The Suffix P10I has been added in the ABAP mapping.
    When I check the subsequent message in SXMB_MONI I find:
    The added suffix is missing in the filename !!
    Elko

  • Getting Process Instance Information and Task Properties in a process

    Iam using WebLogic8.1 Integration BPM feature. I've designed a Worklist based application.
    In the business process, i've to call a java class method from the business process
    which takes the process instance and task related properties (viz. the task id,
    task name, the current actor etc.). How could i supply these values from within
    a business process.
    Regards
    Raja V.

    You can get the task infromation by calling the task control method TeskInfo getTaskInfo()
    "raja v" <[email protected]> wrote:
    >
    Iam using WebLogic8.1 Integration BPM feature. I've designed a Worklist
    based application.
    In the business process, i've to call a java class method from the business
    process
    which takes the process instance and task related properties (viz. the
    task id,
    task name, the current actor etc.). How could i supply these values from
    within
    a business process.
    Regards
    Raja V.

  • Error implementing dynamic callback from BPEL process

    Hi,
    I am trying to use dynamic callback from a BPEL process..
    Created a variable of type EndpointReference by importing the ws-addressing.xsd. in the partnerlink wsdl..
    I assigned the URL to the variable's address field ...
    <copy>
    <from expression="'http://172.31.171.123:8888/PubSubWLPOC-CallbackSvc2-context-root/EIPWFServiceCallbackPort'"/>
    <to variable="ep_var" query="/ns3:EndpointReference/ns3:Address"/>
    </copy>
    Gives no error till now...
    But when I try to assign the same variable to the partnerlink, I get an error..
    <assign name="Assign_7">
    <copy>
    <from variable="ep_var"/>
    <to partnerLink="MyWebService1"/>
    </copy>
    </assign>
    The error is like this(from the $SOA_HOME\bpel\domains\default\logs) :-
    java.lang.NullPointerException
    at com.collaxa.cube.engine.types.bpel.CXPartnerLink.copy(CXPartnerLink.java:246)
    at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.performCopyTo(BPELAssignWMP.java:1151)
    at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:215)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
    at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:1885)
    at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:845)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:794)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleCallback(CubeDeliveryBean.java:378)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    The confusing part is when I use xml fragment instead of the variable ep_var, it works fine ...
    But I cannot use the same as the callback can be made to any url(which is decided on runtime)
    Can someone pls help me with this ?
    saptarishi

    Hi,
    I have done following for dynamic call back and it works..
    <copy>
    <from>
    <_EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address/>
    </EndpointReference>
    </from>
    <to variable="EndpointUrl"/>
    </copy>
    <copy>
    In the above assignment from part is an xml fragment assigned to Endpoint Url
    <copy>
    <from expression="'http://172.31.171.123:8888/PubSubWLPOC-CallbackSvc2-context-root/EIPWFServiceCallbackPort'"/>
    <to variable="ep_var" query="/ns3:EndpointReference/ns3:Address"/>
    </copy>
    </copy>
    <copy>
    <from variable="EndpointUrl"/>
    <to partnerLink="SFDC_plt"/>
    </copy>

  • Dynamic navigation, on HCM Process and Forms "Web Dynpro FORM"

    Hi,
    I'm trying to solve an issue regarding dynamic navigation, on a enhacement done at the Web Dynpro ABAP QISR_UI component for HCM Process and Forms.
    I'm hiding the Adobe Form, and doing "do_dynamic_navigation" for a dynamic generated view container present at the VIEWSHOWFORM on the QISR_UI component.
    The code works great, i.e.: the Adobe Form remains hidden and the custom form, using Web Dynpro appears.
    I'm also using the HRASR00_PROCESS_EXECUTE_1 component to execute a Portal IView (Floorplan based component).
    When the process is started, and the folowing actions are executed:
    1- Select Employee
    2- Select Process
    3- Edit form
    4- Press back (for example if the wrong process is selected)
    5- Select the Process
    6- Edit form again
    There is a NULL exception, the "embedding_vca" (below) is NULL
    SAPLWDR_RUNTIME_REPOSITORY
    METHOD: IF_WD_RR_VIEW_USAGE~GET_EMB_VIEW_CNT_ASSIGNMENT (LCL_VIEW_USA
    * method IF_WD_RR_VIEW_USAGE~GET_EMB_VIEW_CNT_ASSIGNMENT
      method if_wd_rr_view_usage~get_emb_view_cnt_assignment.
        result = me->view_usage->embedding_vca->get_api( ).
      endmethod.
    "IF_WD_RR_VIEW_USAGE~GET_VIEW_CONTAINER_ASSIGNMENT
    Can you guys give me an hand?
    Regards

    Hello,
    Basically what I did was replacing the Adobe Form, by a Web Dynpro component that contains its own form, and associated logic.
    Tecnically the steps to acomplish the task were:
    1º Development of a component for showing a form. ( I suggest you to start with just a "hello world" or something very basic )
    2º Enhance the QISR_UI component (VIEWSHOWFORM view, on the modify view method), something like
    if form scenario = XXXXX then
    hide the adobe form;
    create a custom view container (the problem I had above), and create an instance of the component created on step 1
    end if
    3º Access the context that the original form returns (you can check the context debugging the VIEWSHORFORM view )
    4º Pass the context to the component created..
    I can't provide further details on this, I'm sorry...
    I do not suggest doing this, this was a requirement so I had to do it... But this requires a lot of workarrounds, and lots of small changes in standard code related with process and forms... It's not, also, a "clean" solution
    Regards,
    Joã

Maybe you are looking for