Starting dialog after workflow starts

hi there,
i have a user request and i don''t know how to handle this. i have tried to do it another way, but for our users this is not acceptable.
the users enter absences in HR for other collegues (illness, ......). Each of the entered or changed or deleted absences has an event triggered behind it (object type ABSENCE with method created, deleted, and so on).
i have a workflow starting with each of this triggered events. now the big problem is that the users have to add an document (scanned pdf file) to the absence. But they DON'T want to go to business-place-inbox for it, they want to do it directly.
well, how should i handle this. when the users has entered the data there should be the 'add attachment' dialog from workflow , or some other dialog. is this possible ?
best regards, Martin

>
Martin Svik wrote:
> there is only a GOS for employee, not for absence.  i can't let it be saved to the employee GOS, as there is no 'connection' to the absence. so i don't know which document belongs to which absence. you know what i mean ?
Yup - I understand what you mean. I have never worked with the absence object type, but if there's a separate transaction for maintaining the data you can perhaps try to modify it and make the GOS available for the absence object? There are other threads here explaining how to enable GOS in a 'non-GOSsed' transaction.
Martin Svik wrote:
> your second question: it is the user who has entered the absence = wf-initiator !
So if you create an absence record and I delete it, you should be the one who adds this attachment? A bit odd if you ask me, but as long as you realize what you are saying it's OK.

Similar Messages

  • Workflow Shows as 'In Progress' after Workflow has been completed.

    Hello All,
    I have created a custom workflow using SharePoint Designer. Within this workflow I have multiple 'approval process' tasks. In theory this was so that once the first user had approved the item then the next would be prompted to approve the item, and
    so on. The users that the item must be approved by are set when the item is submitted initially.
    Just so anyone reading this knows I have no formal experience/education in SharePoint workflow design, but I would like to think I know my way around SharePoint(in general) at this point.
    My problem is, the company I work for is just starting out using SharePoint workflows, and from what I understand workflows that are 'In Progress' are related to server performance. I noticed today that there are 5 items in the list which
    under the 'workflow status' column display that they are 'In Progress' which is entirely correct. However, when I go to -> 'List Settings' -> 'Workflow Settings' this workflow is showing 8 workflows 'In Progress'.
    Thank you to anyone who is able to help me with this,
    James

    Hi,
    According to your post, my understanding is that workflow shows as 'In Progress' after Workflow has been completed.
    To send the task one by one, you can select one at a time(serial) when you select Task Process Participants.
    Per my knowleadge, when you go to -> 'List Settings' -> 'Workflow Settings', it show all the workflows you associated to the list.
    To see the running workflow, you need to select an item, right click the title, and then select the workflow.
    However, each workflow enstance can only start once on an item.  In other word, you can not start the same workflow again untill the previous one is completed.
    As you said, workflow shows as 'In Progress'.
    Please make sure all the users have approved the tasks.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId

    How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId.
    This is the Snippet :
    InvocationResponse response = myServiceClient.invoke(request);
    invocationId = response.getInvocationId();
    System.out.println("ClientParams="+response.getClientParameters());
    System.out.println("OutputParams="+response.getOutputParameters());
    System.out.println("invocationId="+invocationId);
    JobManager jobManager = new JobManager(myFactory);
    JobStatus jobStatus = null;
    JobId myJobId = new JobId(invocationId);
    jobStatus = jobManager.getStatus(myJobId);
    System.out.println("Job Status: " + jobStatus.getStatusCode());
    if (jobStatus.getStatusCode()==JobStatus.JOB_STATUS_COMPLETED)
    System.out.println("INVOCATION COMPLETED SUCCESSFULLY!");
    InvocationResponse jobResponse = jobManager.getResponse(myJobId);
    jobManager.terminateJob(myJobId);
    jobResponse.getInvocationId();
    Process id need to be fetched after Workflow Kickoff
    Can anyone please help me..?

    There are 5 process level variables that get populated when you invoke a process. They are
    /process_data/create_time
    /process_data/creator_id
    /process_data/id
    /process_data/status
    /process_data/update_time
    Within the xPath builder you can differentiate them from other process variable because they are italicized.
    Now you can create your own process variable - let's say called pid - and have it contain the process id which is stored in /process_data/id.
    The xPath would look something like
    /process_data/@pid = /process_data/@id
    If the pid variable is marked as an 'output' variable, then it will be returned as part of the InvocationResponse.
    Jasmin

  • How to don't display dialog after send data on BPC for Excel?

    Dear experts,
    I don't want to display dialog after send data on BPC for Excel, how can I do that?
    OS: MS XP SP2
    OFFICE : 2003
    BPC : 7.5 NW

    Hi,
    You need to change the macro assigned to the standard button. There are few macros available. You can try them and see which one suits you the best.
    MNU_eSUBMIT_REFSCHEDULE_BOOK_CLEARANDREFRESH: Sends workbook and clears data and refreshes workbook.
    MNU_eSUBMIT_REFSCHEDULE_BOOK_NOACTION: Sends data without clearing or refreshing the worksheet.
    MNU_eSUBMIT_REFSCHEDULE_BOOK_NOACTION_SHOWRESULT: Sends data without clearing or refreshing the worksheet, and shows the result in a window upon successful send.
    MNU_eSUBMIT_REFSCHEDULE_BOOK_NODIALOG_SHOWRESULT: Sends active book without any dialog and show result box.
    MNU_eSUBMIT_REFSCHEDULE_BOOK_REFRESH: Sends workbook and refreshes data.
    MNU_eSUBMIT_REFSCHEDULE_SHEET_CLEARANDREFRESH: Sends data and clears and refreshes the worksheet.
    MNU_eSUBMIT_REFSCHEDULE_SHEET_NOACTION: Sends data without clearing or refreshing.
    MNU_eSUBMIT_REFSCHEDULE_SHEET_REFRESH
    Hope it helps.

  • How to don't display dialog after send data?

    Dear experts,
      I don't want to display dialog after send data on BPC for Excel, how can I do that?
    OS: MS XP SP2
    OFFICE : 2003
    BPC : 7.5 NW

    I have moved this thread to the BPC NW forum.  Notice the sticky [note|Please do not post BPC, SSM or FI/CO questions here!; at the top of the FPM - General (PCM, FC, Other) Forum whereby we announced new dedicated forums for BPC which are the proper place to post your questions regarding BPC in the future.
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Applications Regional Implementation Group (RIG)

  • Data Integrator complex job hangs after workflow completion

    Post Author: Iomega
    CA Forum: Data Integration
    I have a Data Integrator complex job, and if it fails with an error and I try to rerun it from the designer, it hangs after workflow completion.  So I have to replicate the job and manually run it, removing each workflow as it completes.  Our other DI jobs don't do this, they just flow to completion.  The data warehouse is an Oracle database.  Does anyone know how to correct this?

    Post Author: Iomega
    CA Forum: Data Integration
    I have a Data Integrator complex job, and if it fails with an error and I try to rerun it from the designer, it hangs after workflow completion.  So I have to replicate the job and manually run it, removing each workflow as it completes.  Our other DI jobs don't do this, they just flow to completion.  The data warehouse is an Oracle database.  Does anyone know how to correct this?

  • Ask user for input after Workflow has already started?

    I am in the process of creating an "expense report" declarative workflow in Designer. I want to have it start automatically when a new document (here, an Excel file) is uploaded to the Library. I also want some user input (e.g. "Is this
    ER urgent?"). Is there a way to this without requiring the workflow to start manually?

    You can have required information as metadata on your library and user needs to fill those information. You read that information in your workflow.
    Amit

  • Record does not "check in" after workflow is complete

    Hi All,
    I have built a very simple workflow as below
    1. start step
    2. process step
    3. approve step
    4. stop step
    in the fourth step that is the stop step i have selected "check in" so that the record automatically check's in after the process is complete,
    but the record does not check in and the data manager shows it as in workflow. please help
    Thanks in Advance
    Sharma.

    Hello Abhishek,
    Thanks for the reply.
    The issue is resolved.
    The user had the authorizations and the records were checked out as well.
    i was missing the step of "Mark as approved" that was the reason for the records not to check in automatically.
    Thanky you again.
    Regards,
    Sharma

  • Dialog After Application Install

    After every install of an application on my mac a dialog window appears titled "New Text File" with "Where:" dropdown set to Desktop and the "Save As:" prefilled as "myapps.txt. Then there is a continue button and cancel button.
    It has only started happening lately.
    What is this dialog box?

    Perhaps you (or some utility program) created a folder action for the Applications folder. That action is configured to generate/open a text file - based on the title, for keeping track of what applications were installed when?

  • Can't dispose my dialog after moving it using swing timer.

    Hi all,
    I use the swing timer to move a dialog from one position to another. Here is the code I have use.
    // Set the main window display location
        public void setWindowLocation()
            int screenHeight = Toolkit.getDefaultToolkit().getScreenSize().height;
            int screenWidth = Toolkit.getDefaultToolkit().getScreenSize().width;
            int frameHeight = this.getHeight();
            int frameWidth = this.getWidth();
            int _xValue = (screenWidth - frameWidth);
            int _yValue = (screenHeight - getTrayheight() );
            int _yEnd = (screenHeight - frameHeight - getTrayheight() );
            //this.setLocation((screenWidth - frameWidth), (screenHeight - frameHeight - getTrayheight() - WINDOW_SPACE));
            this.setLocation(_xValue, _yValue);
            while(_yValue > _yEnd){
                dialogMotion(this, _xValue, _yValue);
                _yValue -= 1;
            // this.dispose();
    // Dialog motion
        private void dialogMotion(final MainDialog mainDialog, final int x, final int y){
            AbstractAction abAction = new AbstractAction() {
                public void actionPerformed(ActionEvent evnt) {
                    mainDialog.setLocation(x, y);
            Timer motionTimer = new Timer(300, abAction);
            motionTimer.setRepeats(false);
            motionTimer.start();
    // Find the taskbar height to place the main frame in lower-right corner
    // of the viewable area of the screen.
        private static int getTrayheight(){
            return (Toolkit.getDefaultToolkit().getScreenSize().height -
                     GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().height);
        }I think my code is clear to you. After moving the dialog onto the task bar, I want to dispose it. You can see that at the end of the while loop I've try it.
    What happened there is, I can't see the dialog moving. it directly dispose. I add a breakpoint at the while loop and check, it iterate until condition is false. But I can't see the motion. If I comment the dispose code line as in my above code, I can see it moving.
    Why is that. Your comment really helpful to me.
    I'm worried is that debugging iterate that while loop but it is not visible. :( :(

    Thanks a lot. I got the point all of you said. But it is bit confusing how to do it.
    As i said in my first post, used slightly similar code to move down the dialog. Here what I have try. But the question is because of my thread used there, it wait little amount to scroll down.
        private void hideWindow(MainDialog mainGialog){
            try{
                int _xAbove = mainGialog.getLocation().x;
                int _yAbove = mainGialog.getLocation().y;
                int _yBelow = mainGialog.getLocation().y + mainGialog.getHeight() + getTrayheight();
                while(_yBelow > _yAbove){
                    dialogScrollingUpDown(this, _xAbove, _yAbove);
                    _yAbove += 1;
                Thread.sleep(1000);
                SwingUtilities.invokeLater(new Runnable() {
                    public void run() {
                        try {
                            Thread.sleep(1500);
                            dispose();
                        catch (InterruptedException e) {
                            e.printStackTrace();
            catch (Exception ex) {
                System.out.println(ex.getMessage());
        private void dialogScrollingUpDown(final MainDialog mainDialog, final int x, final int y){
            AbstractAction abAction = new AbstractAction() {
                public void actionPerformed(ActionEvent evnt) {
                    mainDialog.setLocation(x, y);
            Timer motionTimer = new Timer(400, abAction);
            motionTimer.setRepeats(false);
            motionTimer.start();
    // System tray height
        private static int getTrayheight(){
            return (Toolkit.getDefaultToolkit().getScreenSize().height -
                     GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().height);
        }Actually I called the hideWindow method in a button clicked event. After clicked the button, it wait a time equal to the first thread sleep. I can't reduce the time, if so dialog dispose instant.
    Whay I can't do all those things is my IDE not allowed to use frequently changing values in dialogScrollingUpDown method. You can see that in my code.
    Any comments for that.

  • No Run Dialog after pressing ALT + F2

    Hello,
    Sinds yesterday the run dialogbox doesn't show up anymore after pressing ALT + F2.
    I know that i can add a button to the gnome panel to start the run dialog but i just hope that i can restore the ALT + F2 key combination.
    i searched in the gnome configuration editor and there it's still ok "run_Key = <ALT>F2".
    Maybe it has something to do with the fact that i installed xbindkeys yesterday, but i removed it again and it still doesn't work.
    Can somebody tell me how to restore this odd behavior.......... thanks

    ha beautiful.  Did a reinstall of arch earlier in the week with ext4 file systems and found myself with the same problem as Nick.
    overlooked the compiz fusion option, thanks for pointing that one out!
    -b

  • Missing ObjectKey OCCATIONALLY after workflow is triggered

    System is ECC 6.0.
    We have a customer workflow works fine most the time, but fails OCCATIONALLY with following message in workflow log:
    Start Event Received                                     No errors 
    (Sub)workflow created                                 Variables of the work item text cannot be generated  
       GET_VALUE_REF                                       Error in the evaluation of expression '<???>&BUS1505.IDENTKEY&' for item '1' 
          EVAL_CONTAINER_ACCESS_CODE       Unable to determine the value of component '' 
    (Sub)workflow created                                  No errors occurred -> Details in long text 
    Workflow started                                           No errors occurred -> Details in long text 
    Exception occurred                                        Error when starting work item 000000966301 
       PROCESS_NODE                                         Error when processing node '0000000969' (ParForEach index 000000) 
          CREATE                                                   Error when creating a component of type 'Step' 
              CREATE_WIM_HANDLE                       Error when creating a work item 
                 CREATE_VIA_WFM                    Error within method CL_SWF_RUN_WIM_BATCH->_CREATE_WORKITEM_CONTAINER 
                     EXECUTE                                Source (expression '&BUS1505.CONTRACTNUMBER&') of binding assignment is not available 
                         CL_SWF_BND_BINDING->EXECUTE Source (expression '&BUS1505.COMPCODE&') of binding assignment is not available 
                              GET_VALUE_REF                         Error in the evaluation of expression '<???>&BUS1505.COMPCODE&' for item '1' 
                                   EVAL_CONTAINER_ACCESS_CODE Unable to determine the value of component '' 
                         GET_VALUE_REF Error in the evaluation of expression '<???>&BUS1505.CONTRACTNUMBER&' for item '1'
                             EVAL_CONTAINER_ACCESS_CODE Unable to determine the value of component '' 
    Checked contain for BUS1505, it does have proper value in the key:14003000000000344
    Anyone have experience this in their system? what is the solution?
    Best Regards,
    Jimmy Sun

    Hi,
    Got the same issue. Get the messages below for BOR ZKNA1 (copy of KNA1)
    Workflow System            GET_VALUE_REF
    Workflow System            EVAL_CONTAINER_ACCESS_CODE\
    Strange thing is that it works in development but not in Quality. All config was transported though.
    Any help appreciated since I am not very familair with WF.
    Thanks

  • Awesome WM: how to return focus to parent of dialog after close

    Hello all,
    I've been a happy Awesome WM user for about three weeks. But in some programs, if a dialog pops up and I click 'ok' or whatever, focus is lost on the current program and I must change to another tag and back before my key commands will be sent to the host program. Example: In Digikam, if I enter ctrl-shift-right to rotate a photo, a dialog pops up showing the status of the operation, and when the dialog is dismissed, my keystrokes are no longer sent to Digikam. If Digikam is on tag 1, I'll have to enter mod4-2 mod4-1 to make awesome start sending keystrokes back to Digikam - which takes so long it defeats the purpose of using keystrokes in Digikam.  Has anybody else had this problem with Awesome WM?  What could be going on?
    tacit

    Are you using the default rc.lua? Which version of awesome?
    If you have any experience with lua, you should look into your arrange hook, and refocus the last entry in your focus history, unless another client currently has focus. If you post some more info it should be possible to get you there...

  • Finder: No dialog after Connect As...

    I can go to my MacBook from my MacPro but I can not go the other way. I see the MacPro under SHARED on my MacBook. It tries to connect for a minute or so and then the Connection Failed. Using Connect As... does not come up with a dialog where you can put in a username/password, it just starts Connecting... for a long time ending up with Connection Failed again. Tried wireless and wired. I have seen some similar topics listed here, but without an answer.
    What does the trick here?

    I’ve been experiencing the same problem, trying to access my office G4 from the studio’s G5 (both running 10.5.6). Firewall settings are allowing all connections, so the issue must lie somewhere else. Any ideas?
    Andre

  • My lock screen just shows a black background and a User Name/Password dialog after opening the screen from sleep. How do I get it back to where it blurs my desktop image with the dialog and my account image displayed?

    I'm not sure when it began, but now my Macbook Air only shows a black background and a User Name and Password dialog box when I wake it from sleep. It used to show my desktop background blurred with my user name and icon displayed with only a text field for entering my password. I'm currently using Yosemite (OS X 10.10.1) and all updates have been done. Any help or suggestions would be greatly appreciated as I know this isn't a real problem, just an annoyance since I couldn't find how to change it back in the System Preferences.

    I just have to point out that after looking at a related post (https://discussions.apple.com/message/22661092#22661092), it brought to memory that my issue most certainly began happening after I added some DoD certificates to the keychain. This obviously has something to do with it, but it still leaves me wondering what actually causes this to happen. :/

Maybe you are looking for