Refreshing listview when we invoke an operation in server-initiated workflo

Hi,
we are developing a server-initiated workflow where we have scenario like user will get a notification from server and we are showing a listview of tasks ready  for approve/reject. After approval/rejection operation, listview should be reflected by ignoring approved/rejected tasks.
can you please help me regarding this...
Thanks,
ram

There's a couple of different ways you can do this.
You can configure your application so that the approve/reject operations are sent as a batch.  In this scenario, you would take the individual approve/reject operation menuitem and make it of type Delete Listview Row/Delete Key Collection (what its named depends on what release you are using). This marks the row as having been deleted, and thus it will be removed from the listview when you go back to it.  Then, put a Submit Workflow menuitem on the listview screen and have it do a Parent Update.  This will then, asynchronously, send to the server a request to go through the listview and, for each row, visible or not, invoke the corresponding operation on each row, depending on what the state of that row is ("add", "update", or "delete").  In this case, you'll have mapped the "delete" state to your approve/reject operation.
In the other scenario, you want the approve/reject operations to be invoked right away, as online request (necessitating an active connection to the server).  To support this, you'll want to write custom code to mark the current message value collection's state as "delete", which will be a cue to the listview not to display it.

Similar Messages

  • 'Unable to find operation: null'   Error When I invoke Composite Wsdl Url

    Hi ,
    I have created one composite application which consists one BPEL process.That BPEL process takes input from other application.
    But When I invoke that Wsdl Url to push the data from my application to that Wsdl Url,It is giving below error(System fault):
    'Unable to find operation: null' .
    I am getting below message in enterprise manager console (http://ipaddress:port/em):
    'Composite instances are not generated for rejected messages. Click the error message for details'.
    Note: When u click on 'unable to find operation: null' link it is showing the soap request that we submitted to composite URL.
    Instance ID is also not created.
    Can anybody help me regarding this issue?

    As you are able to test the Composite in the EM console and the correct operation, everything looks fine from SOA side.
    Now whatever application from which you are trying to push the data, make sure while configuring the WSDL of the Composite, please check whether you can select the operation of the SOA Composite over there. I think you are leaving the default option which is null or not selecting the required operation over there.
    Hope this helps
    N

  • I have the new OS X Mavericks operating system, and when I invoke IMaps, the location given is not correct. I have attempted to correct it, but it stays the same. Whazzup with that?

    I have the new OS X Mavericks operating system, and when I invoke IMaps, the location given is not correct. I have attempted to correct it, but it stays the same. Whazzup with that?

    In addition to answering innocentius' question:
    You say that nothing happens, yet you are able to export to youtube. Please describe in detail what you are trying.
    What destinations do you see? How exactly are you trying to export?
    Also: Cmd-E will only work if you set a default destination.

  • InvocationTargetException:There was an error while invoking the operation.

    Hi,
    I am having issues getting my remote server configured right after everything working properly on the local host. I am getting the following error:
    InvocationTargetException:There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.
    The key parts of the large message I am getting after that are:
    Class "test" does not exist: Plugin by name 'Test' was not found in the registry; used paths:: ..../smii/test/  ID5D8FE3F-A1D1-4174-98B3-4BED10FD8FFE I79685B66-D792-E4E9-13B3-00004DA5951B  I0F94D267-0704-3C89-0B5B-0000090BA097  134950398900    
    I don't know how this last part of the address with random number and letters is getting there.
    Also, when searching for my server settings today it seems to add a "-1" on the end of the initial directory on the server...not sure why but I seem to be having major issues implementing the service remotely.
    Any help would be appreciated.
    Cheers, Andrew

    I also cannot get my flex server to validate. It always comes up with the error of the server is either off or wrong root url even when everything is set up right and I can access everything via either finder or the web browser.
    Any suggestions? The server does not have any fire walls up to prevent access.

  • Invoke any operation from inside a webmethod

    I think it is a easy problem but I can't solve it:
    <br>
    <p>
    I like to generate with JWS a WSDL-file:
    <br><p>
    ----------ANT Snip ----------------------<br>
    <target name="build-service"><br>
    <jwsc srcdir="${basedir}../../" destdir="../../output/${ear.deployed.name}"><br>
    <jws file="/${packageName}/${javaClassName}"/><br>
    </jwsc><br>
    </target><br>
    <br>
    ---------------------------------------<br>
    <br><p>
    I don't like to use user defined Types her. I want only invoke any operation from my Web Service Method if it is invoked.
    <br>
    My actually not worked code snip:
    <br>
    ---------------------------------------------------<br>
    <br>
    ..........................<br>
    <br>
    @WebService(name="anyPortType",<br>
    serviceName="anyService",<br>
    targetNamespace="http://example.org" )<br>
    <br>
    @SOAPBinding(style=SOAPBinding.Style.RPC,<br>
    use=SOAPBinding.Use.LITERAL)<br>
    <br>
    @WLHttpTransport(portName="commuPort",<br>
    contextPath="anyclient",<br>
    serviceUri="anyclientimpl")<br>
    <br>
    public class HelloWorldImpl {  
    <p>
    @WebMethod(operationName="persistMyData")<br>
    public void invokeAnyMethod(com.any.AnyClass aClass){<br>
    // invokeAnyMethod may persists Data or any thing else ....<br>
    // notice: a user defined type "AnyClass" do not produce errors<br>
    <b>Tools.invokeAnyMethod(aClass); <-- localized problem </b><br>
    <br>
    <br> <p>
    ..................................... <br>
    <br>
    } <br>
    <br>
    But it produce following compling-errors: <br>
    <br>
    C:\..\build.xml:54: Compile failed; see the compiler error output for details.
         at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
         at org.apache.tools.ant.Main.runBuild(Main.java:673)
         at org.apache.tools.ant.Main.startAnt(Main.java:188)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:17)
    <br>
    <p>     
    Can somebody help me please? It needs a simple solution I think.

    Hi Peter,
    From the example in MSDN, It means when you  declare a variable within a try or catch block, the variable is instantiated upon entrance to the block and marked for fear-down as the logic exits the block.This means any variables declared within a try
    block will only be visible in the try block and not outside of it- like in the catch block.
    The following links will help you understand more.
    http://blogs.msdn.com/b/scottwil/archive/2005/03/21/400140.aspx
    http://blogs.msdn.com/b/csharpfaq/archive/2004/08/12/how-to-keep-a-local-variable-in-scope-across-a-try-and-catch-block.aspx
    http://stackoverflow.com/questions/94977/why-arent-variables-declared-in-try-in-scope-in-catch-or-finally
    >> I think putting a "return" in the catch block above may make the compiler error go away. 
    No, the return statement terminates execution of the method in which it appears and returns control to the calling method. If the method is a
    void type, the return statement can be omitted. The best way is Declare your variables before the try block.
    Best wishes!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hi, I have a hard disk failure so to recover my data I am using disk utility to restore the data on an external drive while booting from a second external hard drive. When I perform the operation it gives me an input/output error and stops. Any tips?

    Hi, I have a hard disk failure so to recover my data I am using disk utility to restore the data on an external drive while booting from a second external hard drive. When I perform the operation and after having selected both my destination and source drives, the operation begins but soon fails due to input/output error. If I try to create an image of the drive it gives me the same error message. Any help would be much appreciated.

    Disk Utility only creates a image of the drive, so it's no help getting exactly what you want, which is your files. If the file structure is messed up or the drive is failing then it's no help.
    If you have a external boot drive and you can't access the internal non-booting drive though the typical Finder and windows to transfer your files via drag and drop methods, then you need to install Data Rescue on the external boot drive and it will do as best as it can to recover your files. (works on non-encrypted/non-Filevaulted drives only)
    .Create a data recovery/undelete external boot drive
    Are you sure you have hard drive failure, or that OS X isn't merely not booting?
    Because if the drive is working physically, then there is a host of fixes
    ..Step by Step to fix your Mac
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents#/

  • When I invoke Itunes I get an "error 7 (Windows 193)" message. I have reinstalled twice and get the same message. I have Windows 7 64 bit machine. Can someone help?

    When I invoke Itunes I get an "error 7 (Windows 193)" message. I have reinstalled twice and get the same message. I have Windows 7 64 bit machine. Can someone help?

    Uninstall your existing copy of iTunes. Delete any copies of the iTunesSetup.exe (or iTunes64Setup.exe) installer files from your downloads areas for your web browsers and download a fresh copy of the iTunes installer from the Apple website:
    http://www.apple.com/itunes/download/
    (The current build of the 11.1.4.62 installer was changed a few days ago, which fixed the bulk of the reports of MSVCR80.dll/R6034/APSDaemon.exe/Error-7/AMDS-could-not-start trouble ... but the build number on the installer was not changed. So we're trying to make sure you do the reinstall using a "new good" 11.1.4.62 installer instead of an "old bad".)
    Does the install with the new copy of the installer go through properly? If so, does that clear up the error message?
    If you still have the same error messages cropping up, then try the procedures from the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Error: Cannot Display Page when Page1 invoke Page2

    In page1 when click Add button will invoke page2.
    Page1 Coding as below :
    pageContext.setForwardURL(Constants.DETAIL_UPDATE_PG,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    Parameter pass (in property parameter):
    txnId     ${oa.current.FaoBudgetTransactionId}
    detailId ${oa.current.BudgetDetailId}
    periodId ${oa.current.BudgetPeriodId}
    Page2 ( in processRequest ) Coding as below
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext,
    Constants.UPDATE_TXN, true)) {
    // if back button is pressed
    am.invokeMethod("rollback");
    TransactionUnitHelper.endTransactionUnit(pageContext, Constants
    .UPDATE_TXN);
    OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    } else {
    // teth: added if
    String createNew = pageContext.getParameter("createNew");
    if (createNew != null && createNew.equalsIgnoreCase("Y")) {
    OAViewObject masterVo = (OAViewObject) am.findViewObject(
    "FaoBudPeriodsTempVO1");
    if (masterVo == null) {
    throw new OAException("Object FaoBudPeriodsTempVO1 not found.");
    } else {
    String txnId = pageContext.getParameter("txnId");
    String detailId = pageContext.getParameter("detailId");
    String periodId = pageContext.getParameter("periodId");
    When page1 invoke it error as below.
    Error: Cannot Display Page
    You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    Can somebody help me to solve this problem.
    Thank you very much.

    What is the value of Constants.DETAIL_UPDATE_PG ?
    --Shiv                                                                                                                                                                                                       

  • LabView (8.2) hangs when using I/O operations with traditiona​l NI-DAQ 7.4.4 after aborting LabView program

    Hello!
    We have the following problem:
    LabView (8.2) hangs when using I/O operations with traditional NI-DAQ 7.4.4 after aborting LabView program
    We freshly installed LabView 8.2 (2006) and NI-DAQ 7.4.4 on a PC running Windows XP (Service Pack 3). We built a larger vi that remotely controls a traditional NI-DAQ card (AT-AO-10) on a second PC via NI-VISA 5.0.3. We were successfully running this program until a power failure caused the first computer to crash. After this crash we were unable to start the program again: LabView freezes while loading the vi. LabView itself can be started but freezes when adding I/O operations from the NI-DAQ palette to a block diagram.
    We have tried to re-install NI-DAQ 7.4.4, but it did not help. We then re-installed all NI software, but still no improvement. In the end we decided to reinstall ALL software, first Windows XP, then LabView and finally NI-DAQ 7.4.4. This worked. However, after a few days of running the program we had to abort LabView via Windows Task manager and afterward we again experienced the same problem as before: LabView freezes when loading the program.
    Obviously, we cannot afford to reinstall Windows every time. Are there any known Windows XP / NI-DAQ issues that might cause the freezing of LabView? We would be very grateful for any idea.
    Best regards,
    Matthias

    Hello Sprice,
    Browse the shipping examples according to “Directory Structure” and then select
    DAQ to find the Traditional DAQ examples. 
    There a lot of examples that are written for counters (Counter >>
    daq-stc.llb >> Count Edges (DAQ-STC).vi). 
    What kind of signals are your photons creating?  Are they TTL compatible at a certain
    frequency?  You don’t care about overwriting
    your buffer?
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • ESB Soap Service invoking mutiple operations of a WSDL

    Hi,
    we have a requirement where in we have to call mutiple opeartions of a WSDL.
    We tried developing this using ESB, where in we used many soap services invoking different operations of thw WSDL and a routing service which will decide on which SOAP service (Opeartion of WSDL) to invoke.
    But we just want to check if there any way that we can call many operations of the same WSDL using the same soap service.
    Any pointers on this.
    Thanks in advance.
    santu

    Your usecase should be no problem. The error java.util.NoSuchElementException seems to indicate you are refering a non existing element somewhere. Are you sure the service gets invoked with the correct message content? From the enterprise manager website you can increase the logging of esb. Go to your esb oc4j container, administration, Logger Configuration. Search for soap loggers and increase the log level. You should now see the entire xml soap messages in the log.xml file.
    Kind Regards,
    Andre Jochems

  • Refreshing MV when connection failed

    hi ,
    I am using Oracle 9i, in my mv refresh in the event of an ip addr change and it cannot makes the connection ,
    will that data in my MV table got deleted as well or Oracle will establish the connection is ok first and only then does a MV refresh ?
    pls advise
    tks & rgds

    As you may already know not all views can be refreshed with FAST method, especially the complex ones that select data from more than one table.
    So the only refresh option for those views is COMPLETE REFRESH.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14226/repmview.htm#sthref491
    With all database versions older than 10.2.0.1 It is true that when you refresh the MV using complete method it does TRUNCATE the data before it refreshes it. This is true even though ATOMIC_REFRESH parameter is set to TRUE when you call DBMS_MVIEW.REFRESH (It is a known bug).
    What is Atomic Refresh?
    If this parameter is set to true, then the list of materialized views is refreshed in a single transaction. All of the refreshed materialized views are updated to a single point in time. If the refresh fails for any of the materialized views, none of the materialized views are updated.
    If this parameter is set to false, then each of the materialized views is refreshed in a separate transaction.
    But, if you refresh the materialized view using a refresh group you can force Oracle to do DELETE instead of truncate.
    In general when you refresh with refresh group, your MV views will be transactionally consistent.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14226/repoverview.htm#sthref71
    But make sure you have at least two views in the refresh group, otherwise Oracle will truncate data again.
    So if the database link is broken, the refresh will fail and the transaction will be rolled back. None of the end users will notice anything unusual.
    --Mihajlo
    Message was edited by:
    tekicora
    null

  • Refresh query when opening workbook is ticked automatically

    Prior to Upgrade, the bex properties settings for "Refresh query when
    opening workbook" was unticked(deactivated) and now after upgrade to BI
    7.0 the bex properties "Refresh query when opening the workbook" is
    ticked(activated).
    Again, This has happened only to a particular strand.
    Can anybody guide me on this. As a result of the above, all the work books are now refreshing automatically. This has affected hunderds of workbooks and we need to restore this back. Please help.

    Hi Dave,
    That is a local workbook setting.  The setting is stored in the workbook on the sheet named SAPBEXqueries (see earlier postings on how to make this worksheet visible).
    If there is only one query in the workbook, then look at at cell U4.  This cell will read TRUE if the setting is check (do refresh on open) and will read FALSE if the setting is not checked (do not refresh on open).
    One way to be sure that this setting is not altered would be to create a subroutine for the Workbook_BeforeClose event.  The user then can make any selection they like, but you will over-ride it when they close the workbook.
    Hope this helps.
    - Pete

  • Rich Client keeps refreshing docs when opening them

    Hello,
    I would like to ask a question about the refresh on open with Rich Client. Using FP2.10, I have Rich Client which keeps refreshing documents when opening them. This happens even if the 'refresh on open' option is unchecked. I would like to know if there is another option that is forcing the refresh of my webi doc when opened with WRC.
    this behavior I'm facing is systematic and does not depend on universe, document, objetc or whatsoever.
    It happens when I create a brand new doc using demo universe (eFashion for instance). I use a prompt in the query; then I save the document locally as a .WID file making sure that option 'refresh on open' is uncheck. However when I open this newly created document, the prompt dialog box shows up meanign that the doc was refreshed.
    This behavior is happening wiht only one machine. that' what made me think that it might be related to some configuration within that machine.
    Thanks in advane for any input you might have to resolve this issue.
    Best regads,
    Mohamed

    I have got a question with regards to this thread.
    I understand the new option that has been added u201CDisable Automatic Refresh on Open for all documentsu201D
    In this instancce all reports refresh when opened in WRC and not in Infoview?
    Is this right specific to WRC or Webi in Infoview as well?
    With BO administrator, the report does not refresh as u201CDisable Automatic Refresh on Open for all documentsu201D right is granted by default.
    However, with a non-admin user, the report will refresh.
    If the aforementioned right is  granted to the non-admin user then the auto-refreshes stops.
    Therefore, my query is:
    Is this functionality of refreshing all documents specific to WRC or does it also applies to Webi in Infoview?
    If specific to WRC then is it documented somewhere?
    Thanks
    Steph

  • OSB: When does invokation from http Business Service result into an error

    Hi,
    I want to know when does invokation from http Business Service in OSB result into an error.
    I have a http based business service which is calling an external service on http url.
    I want to know when this business service is invoke/tested, what are the cases in which the invokation will result into an error.
    What does OSB read to cause the invokation an error.
    I am aware that it reads the http-response-code. If its not 200 or 0, it will result into an error.
    Want to validate this understanding and also want to know what are the other case that will cause this happen. Is it by any way dependent on body content?
    Please help. Please share any good links for the topics related to this.
    TIA.
    Regards,
    Ashish

    Hi,
    Some info here...
    http://svgonugu.wordpress.com/2011/06/15/fault-handling-in-osb/
    Cheers,
    Vlad

  • When updating to new operating system. Apple ID asks for my password and boyfriends password. Why?

    when updating to new operating system. Apple ID asks for my password and boyfriends password. Why?

    You may be logged into iCLoud and the iTunes/App stores on separate accounts, or he may have downloaded some apps on your phone and they need to be updated.

Maybe you are looking for

  • Text messages and email accounts disappeared after...

    Hi, I just made a backup via OVI Suite and now all my text messages and email accounts are gone. When trying to restore it skips the messages and marks them with an exclamation point inside a red triangle. Where did my messages and email accounts go?

  • Messages to iPad, messages to iPad

    Im using a macbookpro late 2011 and I just updated to OS X Mountain Lion and I'm trying to use messages to send stuff to my friend's Ipad. But instead of showing up on messages, it shows up on Google Talk. Everytime I try to use messages, it either s

  • When i try to install itunes it says it is not a valid win32 application

    will somebody please help me thanks

  • Sapscript landscape label printing

    I have a new request for a 100 MM X 300 MM label to be printed in landscape for process orders.  All our labels in the past have been in portrait format.  I went into SPAD and created a new Z format type for the size and then attached that to a Z dev

  • Connection : Toad to Oracle application

    Hi Team, I have a question here I have installed Toad and Apps on my system. Now I would like to know how to establish a connection of toad with oracle application so that the data can be stored in database. Thank You.