robertom's Profile
Agile User
24
Points

Questions
14

Answers
17

  • Agile User Asked on February 10, 2016 in Other APIs.

    Thank you so much again Antonio, you solved all my problems! 🙂

    • 3595 views
    • 9 answers
    • 1 votes
  • Agile User Asked on February 10, 2016 in Other APIs.

    Thank you again!
    I have another question: how can I retrieve the latest released revision of an item? I use the getRevision() instruction but, if an object has a pending change, it returns the new revision in brackets.
    My case is this: If I unrelease a change order I’d like to have the previous revision of the item (i.e. the latest released one), not the one it would have after the release of the change.

    • 3595 views
    • 9 answers
    • 1 votes
  • Agile User Asked on February 10, 2016 in Other APIs.

    Thank you very much Antonio!!

    • 3595 views
    • 9 answers
    • 1 votes
  • Agile User Asked on December 11, 2015 in Other APIs.

    That’s great Antonio, that’s what I needed! Thank you 🙂

    • 2658 views
    • 2 answers
    • 0 votes
  • Agile User Asked on November 23, 2015 in Other APIs.

    Hi Patrick, thanks anyway! 🙂
    I’ll write here in case I find the solution

    • 2917 views
    • 2 answers
    • 0 votes
  • Agile User Asked on November 10, 2015 in Other APIs.

    Thanks for the answer Hagi, I don’t understand what I should do though.

    Just to be more clear I will explain my problem with an example:
    I have the item X and I add all of his parent items in the Affected Items table of the Change.
    I have the item Y and I want to add all of his parent items in the Affected Items table of the Change, but one of them is one of the parent items of the item X, so it’s already on the table.
    The program stops and returns an error (“item’s already on the table”); what I’d need is a command or a verify step that permits to the program to ignore the error and to jump to the next item.

    • 1971 views
    • 2 answers
    • 0 votes
  • Agile User Asked on November 10, 2015 in Other APIs.

    Thanks for the answer Tal.
    In my version (9.3.3) Event Maximum Nested Levels Allowed is set to 10 and it actually says “Error: Error: Error: Error: Error: Error: Error: Error: Error: Error: Max event level was reached. To prevent possible infinite loop, the action is stopped. “
    It avoids long loops, but the result is that it doesn’t do what I would like it to do (it actually does nothing).

    I tried to put a verify step in my code but seems like nothing has changed.
    My code is the following, I put the if(!D1NotesWrite.equalsIgnoreCase(“”)), so it should copy the field, start again and do nothing after finding the D1NotesWriteCell empty; it returns the same error, what am I doing wrong?

    String D1NotesFinal = “”;
    String D1NotesWrite = currentChange.getValue(ChangeConstants.ATT_PAGE_THREE_MULTITEXT10).toString();
    String D1Notes = currentChange.getValue(ChangeConstants.ATT_PAGE_THREE_MULTITEXT20).toString();
    if(!D1NotesWrite.equalsIgnoreCase(“”)){
             if(D1Notes.equalsIgnoreCase(“”)){
                      D1NotesFinal = D1NotesWrite;
             } else {
                      D1NotesFinal = D1Notes + “nn” + D1NotesWrite;
             }
    ICell D1NotesWriteCell = currentChange.getCell(ChangeConstants.ATT_PAGE_THREE_MULTITEXT10);
    ICell D1NotesCell = currentChange.getCell(ChangeConstants.ATT_PAGE_THREE_MULTITEXT20);
    D1NotesWriteCell.setValue(“”);
    D1NotesCell.setValue(D1NotesFinal);
    }

    • 3042 views
    • 2 answers
    • 0 votes