Workflow skipping some lines

Hi dudes,
I hav created a Workflow. Which also calls some rules. I have executed it from admin interface by clicking on 'Run Tasks' tab. It worked fine in the beginning. But after some time the workflow started executing only few lines inside a block and skipping the other statements below that. All the statements are unconditional. For eg, if I hav 2 <set> statements in a block it executes only the first <set>. What could be the problems. Expecting a positive reply experts.
Thanks in advance

Hi this is a sample piece of my Workflow.
<!-- MemberObjectGroups="#ID#Top" createDate="Wed Aug 20 18:44:22 GMT+05:30 2008" extensionClass="WFProcess" id="#ID#2E46860800425F9E:1A1FF9:11BDBCA3059:-7F28" name="CTLR" visibility="runschedule"-->
<TaskDefinition name='CTLR' creator='Configurator' createDate='1219238062379' lastModifier='Configurator' lastModDate='1219238291825' lastMod='999' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
<Extension>
<WFProcess name='CTLR' maxSteps='0'>
<Activity id='0' name='Initialize'>
<Action id='0' name='Initialize Variables'>
<expression>
<block name='ttt' trace='true'>
<set name='ctx'>
<ref>WF_CONTEXT</ref>
</set>
<set name='name'>
<s>565453345</s>
</set>
</block>
</expression>
</Action>
<WorkflowEditor x='231' y='144'/>
</Activity>
<Activity id='1' name='satrt'>
<Transition to='Initialize'/>
<WorkflowEditor x='230' y='34'/>
</Activity>
</WFProcess>
</Extension>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
<Properties>
<Property name='editorOriginalName' value='CTLR'/>
</Properties>
</TaskDefinition>
In this Workflow in the block '<block name='ttt' trace='true'>' only the first <set> is executed. The second <set> is skipped. Any properties to be set?
Thanks

Similar Messages

  • SharePoint Designer workflow executing same lines\steps multiple time in single instance

    I am working SharePoint 2010 workflow. I am facing an issue.
    Problem:
    1) I have few workflows running on different situation
    2) Out of all workflows one is set to execute on "Item Created"
    3) This workflow having some lines to execute and then create an item and then wait for a change in field value.
    4) Expectation: This should create one instance and execute the lines\steps only once and wait for field change.
    5) Actual Out-Come: The workflow is executing the lines\steps three times in a single instance.
    6) The workflow history is showing the three time execution of all lines\steps using log to history.
    7) It is a SPD workflow so there is no while loop. but it behaving like while loop.
    8) On create Item, we are creating task, so it is creating three tasks. It is sending three emails and also we are appending text in title so text is appended three times.
    I did a lot of research but not able to find the solution.
    Please help.
    - Khan Abubakar Disclaimer: The opinions expressed herein are my own personal opinions and do not represent any others view in anyway.

    Hi Khan,
    According to your description, my understanding is that your workflow executed some actions three times.
    What actions did you for the problematic actions?
    If they are "Start Approval Process" action, please check whether there are multiple approvers for tasks. If yes, the action will create one task for each approver.
    Please create a new list and a new workflow based on the problematic workflow, test again, compare the result.
    For reproducing your issue, I suggest you provide more information about your list and workflow (detailed actions or some screenshots). It will make others in the forum easy to find a solution for you.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • "Skip" in Import Format not skipping some rows

    We are currently using FDM 11.1.1.1.00 and we have a problem with skipping lines based on currency (which is our AccountDescription).
    We first extract 28392 lines from Oracle EBS (27921 CAD and 471 USD). No mather what we put in the skip condition, the generated .dat contains exactly the same data (file compared with UltraEdit).
    If we set our import format to skip USD lines, 11 of them are still imported. It's the same behavior if we set the import format to skip CAD lines (1136 of them are still imported).
    For example this line still load
    2021;1115562;50308;E;;006;806050;0000;55365;001;0000;;;;;;;;;;;;;;;;;;;;;;;;;USD;P02-13;A;;;2013;3.06;22.08;-19.02
    while this one don't
    2021;4368;50308;L;;101;000000;0000;21350;001;0000;;;;;;;;;;;;;;;;;;;;;;;;;USD;P02-13;A;;;2013;2400000;17100000;-14700000
    ***(Skip is on field 36 (USD))
    I looked at some of the lines still loaded in hexadecimal to find any invisble character or differences in codes used to display characters but they are the same as lines that are skipped.
    Three persons has been searching for pattern in data that could lead us to the problem without success.
    Any ideas on why thoses lines are still imported ? Where should I look at ?
    This may be easy to solve, but I'm new at this stuff (I actually had to learn FDM by myself as all technical administrators knowing it left the company).
    Thanks.

    Thanks for your help. It works fine with the script. Now it return only the rows I need.
    I only inverted the condition so if it's CAD, the function return the value, else it skip the line (to exclude USD, EUR or any other currency it may encounter in the future).
    Thanks again.
    My script looks like that :
    Function SelectCADLines(strField, strRecord)
    'UpStream WebLink DM DataPump Import Script:
    'Created By: Francois Robineau
    'Date Created: 2/19/2013 10:35 AM
    'Purpose: Select only CAD (skipping USD, EUR or any other possible currency)
    Dim strAccount
    'Store first value of account
    strAccount = strField
    'Check to see if value is CAD
    If strAccount = "CAD" Then
    'Return line
    SelectCADLines=strAccount
    Else
    'Skip line
    Res.PblnSkip=True
    End if
    End Function

  • GET PERNR skips some employees in the report

    Hi all.
    This is my first post in this forum. I'm beginner in ABAP programming and I've got a issue in my report that I don't succeed in solving it.
    In the first line of the source code, within the start-of-selection event, I use the GET PERNR command to bring the employee personnel numbers. While I was debugging I've noted this command was skipping some employees. There isn't any line of code before the GET PERNR.
    Do you have any ideia about what's happening?
    Thanks in advance.
    Tiago.

    HI Tiago,
    here is another probably cause. The dates. It´s important that the employees,
    are active in the infotype(I think that is Infotype 0), in the dates that check your program. It´s useful to know
    the selection data period (pnpbegda/pnpendda), the employees selection data (pnpbegps/pnpendps), the radiobutton selection data (pn-begda/pn-endda), of the pnp logical d.b.selection screen. You can see the values of these fields debbuging Ah!, another point, start-of-selection & Get pernr, are differents events in the execution of an abap program.
    Hope this lines help you!
    Carles

  • Output skips few line item texts

    Hi All,
    In smartform output for purchase order it displays line item and their text in main window.
    For some PO's it works fine and for some it skips few lines of some line item text.
    In debugging i could find all line items populated.
    Steps Taken:
    1) In table defination i checked no page-break. Problem is it works fine but the first page comes blank and rest is fine.
    Is there any way to resolve this?
    Thanks,
    M Mishra

    Hi All,
    In smartform output for purchase order it displays line item and their text in main window.
    For some PO's it works fine and for some it skips few lines of some line item text.
    In debugging i could find all line items populated.
    Steps Taken:
    1) In table defination i checked no page-break. Problem is it works fine but the first page comes blank and rest is fine.
    Is there any way to resolve this?
    Thanks,
    M Mishra

  • Why does the cursor skip a line every time I start a new contact?

    I just got my first iPhone, and I love many things about it, but I'm pretty frustrated about other things. One frustrating thing is that if I go to save a number as a contact, it brings up the new contact page, and EVERY time I click on the first name line, it goes there and immediately jumps to line 2. Same if I click on line 3, it skips to line 4. Or I'll type a letter or two and it skips one or several lines. Anybody else have this issue? Anybody know any fixes? Please help. This will make me lose my cool if I can't get this glitch fixed.

    Hi drewskiiiiiiiii,
    If you are having issues with your iPhone's Contacts application acting oddly, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    Force an app to close in iOS
    Next, I would try restarting and if needed resetting the iPhone -
    Restart or reset your iPhone, iPad, or iPod touch
    If the issue is still present, you may want to restore the iPhone as a new device -
    How to erase your iOS device and then set it up as a new device or restore it from backups
    Thanks for using Apple Support Communities.
    Best,
    Brett L  

  • How to suppress some lines from printing

    Dear all
    I have a problem of suppressing some lines in a character mode report depending on some condition. E.g. say I have 5 lines per record to be printed. Say Name, Add1, Add2, Add3, City. Now depending on a condition, I don't want to print Add2, instead Add3 and City should move upward one line resulting only 4 lines in the report. Like wise there may be only two lines in the report, Name and City only.
    How to accomplish this task? Thanks in advance.

    Easy in to do it in the query:
    select rtrim(decode(adr1,null,null,adr1||chr(10))||
                 decode(adr2,null,null,adr2||chr(10))||
                 decode(city,null,null,city||chr(10))||
                 country,
           chr(10))
    from address                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

  • Skipping Blank Lines in text File

    I am working on an assignment in which i have to read from a text file and store the strings individually. The problem i have is that the text file has blank line between each set of strings. So i figured to use "fin.nextLine();" to skip that blank line and continue with storing the values. but i get
    "Exception in thread "main" java.util.NoSuchElementException: No line found
         at java.util.Scanner.nextLine(Unknown Source)
         at processmsg.ProcessMessages.choice1(ProcessMessages.java:68)
         at processmsg.ProcessMessages.main(ProcessMessages.java:25)"
    which is where the fin.nexLine() is at. How can i just skip that blank line?
    System.out.println("Please enter the file location");
              Scanner stdin = new Scanner(System.in);
              String fileName = stdin.nextLine();
              // read the information from the file
              try {
                   Scanner fin = new Scanner(new File(fileName));
                   String tSendName = fin.nextLine();
                   while(tSendName != null)
                        String tRecieveName = fin.nextLine();
                        String tPhoneNumber = fin.nextLine();
                        String tDate = fin.nextLine();
                        String tTime = fin.nextLine();
                        String tStatus = fin.nextLine();
                        String tMessage = fin.nextLine();
                        PhoneMessage phonemessage = new PhoneMessage(tSendName, tRecieveName,
                                  tPhoneNumber, tDate, tTime, tStatus, tMessage);
                        fin.nextLine();
                        tSendName = fin.nextLine();

    don't know if you want the whole code, the whole code is kind of large and spread out over 3 different classes. and yes the text file is standard
    sender
    reciever
    phone number
    date
    time
    status
    message
    sender
    reciever
    phone number
    date
    time
    status
    message
    sender
    reciever
    phone number
    date
    time
    status
    message
    private static void choice()
              // scan the file location from the user
              System.out.println("Please enter the file location");
              Scanner stdin = new Scanner(System.in);
              String fileName = stdin.nextLine();
              // read the information from the file
              try {
                   Scanner fin = new Scanner(new File(fileName));
                   String tSendName = fin.nextLine();
                   while(tSendName != null)
                        String tRecieveName = fin.next();
                        String tPhoneNumber = fin.next();
                        String tDate = fin.nextLine();
                        String tTime = fin.nextLine();
                        String tStatus = fin.nextLine();
                        String tMessage = fin.nextLine();
                        PhoneMessage phonemessage = new PhoneMessage(tSendName, tRecieveName,
                                  tPhoneNumber, tDate, tTime, tStatus, tMessage);
                        // skip blank line between entries
                        fin.nextLine();
                        // test date string for correct format
                        int month = Integer.parseInt(tDate.substring(0,2));
                        int day = Integer.parseInt(tDate.substring(3,5));
                        int year = Integer.parseInt(tDate.substring(6,10));
                        // test time string for correct format
                        int hour = Integer.parseInt(tTime.substring(0,2));
                        int minute = Integer.parseInt(tTime.substring(3,5));
                        int second = Integer.parseInt(tTime.substring(6,8));
                        tSendName = fin.nextLine();
                        msgList.add(phonemessage);
                   fin.close();
              } catch (FileNotFoundException e) {
                   System.out.println("The file " + fileName + " was not found!");
              } catch (java.lang.NumberFormatException e) {
                   System.out.println("The date and/or time is not of the correct format");
         }

  • How to read some lines from a text file using java.

    hi,
    i m new to java and i want to read some lines from a text file based on some string occurrence in the file. This file to be read in steps.
    we only want to read the file upto the first Occurrence of "TEXT" string.
    How to do it ,,,
    Kinldy give the code
    Regards,
    Sagar
    this is the text file
    dfgjdjj
    sfjhjkd
    ghjkdg
    hjkdgh TEXT
    ikeyt
    ujt
    jk
    tyk TEXT
    rukl
    r

    Hendawy wrote:
    Since the word "TEXT" is formed of 4 letters, you would read the text file 4 bytes by four bytes. Wrong on two counts. First, the file may not be encoded 1 byte per character. It could be utf-16 in which case it would be two byte per character. Second, even if it were 1 byte per character, the string "Text" may not start on a 4 byte boundary.
    Consider a FileInputStream object "fis" that points to your text file. use fis.read(byte[] array, int offset, int len) to read every four bytes. Convert the "TEXT" String into a byte array "TEXT".getBytes(), and yous the Arrays class to compare the equality of the read bytes with your "TEXT".getBytes()Wrong since it relies on my second point and will fail when fis.read(byte[] array, int offset, int len) does not read 4 bytes (as is no guaranteed to). Check the Javadoc. Also, the file may not be encoded with the default character encoding.
    The problem is easily solved by reading a line at a time using a BufferedReader wrapping an InputStreamReader wrapping a FileInputStream and specifying the correct character encoding.
    Edited by: sabre150 on Apr 29, 2009 2:13 PM

  • Some Line Items are missing in Standard SAP FI/CO Reports

    Dear All,
    while taking printout of SAP Standard FI/CO Reports some line items and total value are missing. E.g using TCODE FBL3N, it shows correct value after inserting selction inputs but when displaying it in spool request or taking print out it misses some line items and total value.
    Kindly help me in resolving the issue.
    Regards,
    Majid Khan

    Problem was caused by support pack SAPKB62063 and SAPKB62064.
    Apply OSS note 1100728 which was corrected in SAPKB62065.
    Giana

  • Sales order some line items are showing not relavant

    Hi SD Guys,
    In sales order some line items are showing not relavant.
    Why are they showing a status of not complete or "not relevant"?
    Thanks
    Sunny

    Hi sunny,
                     plz check the each line item in the sales order controls by the item category, so check the item category , depends on the item category, pricing,delivery and billing takes place.
    regards,
    ram.

  • Field Becomes grayed after some lines in ALV

    Hi All,
    My question is:
    I have prepared a ALV output with some fields editable (means i have handle the style and layout at cell level)
    ALV is in the docking container
    ALV comes in the 50% of the screen area.
    Now, I am trying to change the data by entering some values in the editable cells and then press enter
    Good part is:
    Upto some certain rows, i am able to change the data in the ALV and no unusual behavior found regarding style and layout
    Bad is:
    When i am trying to enter the data in editable cell (Say this is row 30) after some lines and press enter then correspoding row cell becomes grayed (Which generally should not be).
    if i again repeat the same action for next line (Say this is row 31) then results becomes similar for line 31 as for line 30 but at the same time LINE 30 becomes fine.
    Note: Technically, data change method is implemented correctly. No style has been changed during this action.
    Thanks in advance

    Just a guess..are you entering right type of data into the cell
    Best Regards,
    rama

  • Ssis flat file to ole db skipping some rows...

    for some reason, I can't seem to figure out why I'm missing some lines when I import a csv file that I exported using sqlplus. The ssis package gives no warnings or errors as well.
    The reason I know this is because when I loaded the csv file into a separate analysis application it gets the correct totals for numeric columns and row counts.
    But for some reason, SSIS doesn't seem to capture all of the lines...
    there were 6313052 rows in the csv file and ssis imports 6308607...
    any thoughts?
    I've tried different code pages too (1250, 1252, and UTF8) but they didn't seem to have an affect
    I checked out this link: Why
    all the records are not being copied from CSV to SQL table in a SSIS package
    and numbers I've checked on numbers 2, 3, and 4.
    Although, for number 1, I'm using a for each loop container descirbed in this site:http://help.pragmaticworks.com/dtsxchange/scr/FAQ%20-%20How%20to%20loop%20through%20files%20in%20a%20specified%20folder,%20load%20one%20by%20one%20and%20move%20to%20archive%20folder%20using%20SSIS.htm to
    loop through files in a folder and import them.
    I've also thought about missing delimiters, but I exported the files myself using sqlplus like this:
    select
    trim(to_char(t1.D_DTM, 'yyyy-mm-dd hh24:mm:ss'))||','||
    trim(t1.TECHNOLOGY)||','||
    trim(t1.VOICEDATA)||','||
    trim(t2.MRKT_NM)||','||
    trim(t2.REGION_NM)||','||
    trim(t2.CLUSTER_NM)||','||
    trim(t3.BSC_NM)||','||
    trim(t1.BTS_ID)||','||
    trim(t1.CSCD_NM)||','||
    trim(t1.SECT_SEQ_ID)||','||
    trim(t1.BND_ID)||','||
    trim(t1.FA_ID)||','||
    trim(t1.TCE_DTCT_CALL_SETUP_F_CNT)||','||
    trim(t1.MS_ACQ_CALL_SETUP_F_CNT)||','||
    trim(t1.SIGN_CALL_SETUP_F_CNT)||','||
    trim(t1.BAD_FRM_CALL_SETUP_F_CNT)||','||
    trim(t1.REORG_ATT_CNT)||','||
    trim(t1.TCE_CALL_SETUP_F_CNT)||','||
    trim(t1.WCD_CALL_SETUP_F_CNT)||','||
    trim(t1.L_CALL_SETUP_F_CNT)||','||
    trim(t1.TRAF_FRM_MISS_CNT)||','||
    trim(t1.BCP_TMO_CALL_SETUP_F_CNT)
    from table
    I'm not sure how I could miss delimiters if I export a file like that...
    Also, I tested importing these files into MySql using LOAD DATA INFILE and that seems to work fine and import all of the data...

    Hi rpatel18,
    The issue might occur if there are missing either row or column delimiters in the CSV file. Please have a look at the following blog to see if it is the issue:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2013/03/13/flat-file-source-cannot-handle-file-with-uneven-number-of-columns-in-each-row.aspx.
    In addition, the issue might also happen due to the design structure of the SSIS package. You could post one screenshots of your SSIS package Control Flow Tasks and Data Flow Tasks for further analysis.
    Regards,
    Mike Yin
    TechNet Community Support

  • Version 10.1.3 misses printing some lines. Is anyone else having this problem?

    Using Adobe Reader X version 10.1.3 it misses printing some lines but prints perfectly with version 8.1.2.  Is anyone else experiencing this problem?

    I always match the entire project to the footage so this problem doesn't happen.
    I have an after effects project dynamically linked to the project.  I think that may be causing the problem somehow, although that is also a 1440 project.
    Again, I had no problems before.  I've done 10+ projects for this client with the same settings and am only now having problems.
    I never recommend shooting in 1440, but that is what they wanted for whatever reason.  Always 1920x1080p or 1280x720p.

  • Creating PO from PR - some line item fields are disabled.

    Hi All,
    I am creating a PO from purchase requisition through ME21N, from the document flow, I am dragging and dropping the PR into PO screen. While doing this, there are some line items which gets disabled. I want to check where this has been done, I checked in the BADI  and also in screen exits:
    SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101 Subscreen: PO header
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item
    SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201 Subscreen: agreement header
    SAPMM06E 0211 CUSTSCR1 SAPLXM06 0211 Subscreen: agreement item
    SAPMM06E 0301 CUSTSCR1 SAPLXM06 0301 Subscreen: RFQ header
    SAPMM06E 0311 CUSTSCR1 SAPLXM06 0311 Subscreen: RFQ item
    But could not find anything, Please help.
    Regards,
    Madhuri

    Dear Guru's,
    we just facing the already discussed issue that a PO within PLANT from PO-item-level should be part of the PO-output determination. Which userexits have to manipulated to get field PLANT into structure KOMKBEA_FILL especially when PO is still not saved (NO EKKO/EKPO information available) but message is already determined with status "NOT PROCESSED"???
    Thanks for an answer.
    Regards,
    Bernd

Maybe you are looking for

  • How can I move a task from a Summary Task to another Summary Task in the same task list?

    Hey, I tried to move tasks through the SP UI from one Summary Task to other in the same task list, but I didn't find possibility for it. Then I spent time to learn the SP Client Object Model and now I can read tasks form the list. I see every task ha

  • How can I use my iPod as source for reinstalled iTunes?

    Hello @ all. Unfortunately I had to completely reinstall my system (WinXP Pro PC) and lost my media library! How can I use my iPod as a source to copy all my songs and settings (incl. covers, aso) to iTunes? iPod: 30GBs Video iPod iTunes Version: 7.0

  • Selective Contact Syncing- I don't want it all.

    Ok .. the push syncing is TOO good. I have 3200 contacts. I used to be able to select just the groups that I wanted to sync. Now EVERYTHING gets synced. I do get this "helpful" explanation in iTunes: "Your contact are being pushed to your iPhone over

  • Pricing report

    Hi Gurus, There is a report ZSD025 for Shipment master report where I have to add 2 fields i.e. Pricing and Currency. The report ZSD025 has various fields like delivery no. billing no., customer no, material no, shipment no,...................so many

  • Translation of field name at the selection screen

    Hi, I need to translate one field at the selection srcreen. Now apperas only technical name of that field. I tried in Se63, se38, se41, se80