How to access an action's Due Date through the GP API

I'm new to the GP API, and I would like to know how can I get/set an action's due date and notifications at runtime.
Is it possible to create new actions and attach them to a process?
Thanks in advance

Thanks for your reply. You know? I already looked at those documents before, but I couldn't find the right API to acomplish my requirement.
What I've found over and over is how to retrieve the notifications belonging to the process. But these are not the notifications that I need. Like the post's title reads, I need the <i>Activities/Actions</i> notifications.
I read there's a method in the <i>NotificationManager</i> API to do so, but so far I've only manage to get a <i>NullPointerException</i>
Here's the code:
String processId = executionContext.getProcessId();
String activityId = executionContext.getTaskId();
IGPNotificationInstance notificationInstance =
        ntfm.retrieveNotification(
                processId, activityId, notifId);
String idNotificacion = "";
if (notificationInstance != null) {
    deadline = notificationInstance.getDeadline();
The notification ID comes from watching the faulty notifications in the queue manager (so it's hard-coded)
It doesn't matter what property/method I try to access from the <i>notificationInstance </i>object. I get a <i>NullPointerException</i>.

Similar Messages

  • OAB - Certifications : Action Item Due Date

    Hi,
    Does anyone know how to setup Due Date for the Action Type based on certain conditions?
    For eg
    Birth Certificate - 3 Months
    Marriage Certificate - 45 days etc
    Thanks in advance

    Hi,
    Thanks for the reply. Yes I am doing the same setup, but I would like to know is there any way to have more than one due date in the action items. This is for Dependent Certifications, currently the set-up in Program Enrollment Requirements - > Dependent Coverage - > Plan Type -> Dependent Change of Life Event -> Change of Life Event Certifications and set-up actions in the action Type window in the Program Enrollment Requirements screen
    For e.g.
    Dependent Certification Required - Birth Certificate - Due Date 06/30/2009
    Dependent Certification Required - Marriage Certificate - Due Date 07/31/2009
    etc
    Likewise there are many certificates involved; Depending on Life Event, Relationship Type and other conditions it will vary. Please let me know if there are any ideas.
    Thanks

  • How do I get access to my backed up data in the iCloud?i

    How do I get access to my backed up data on the cloud?

    Just go to iCloud.com and log in.  Choose iCloud Drive if you are looking for documents that you lost on your mac and had put into iCloud drive prior to your hard drive dying.  Contacts, Mail, Calendars will all be there under the log in to choose from.

  • How due date for the invoice can be a backward date

    Hi
    How due date for the invoice can be a backward date as billing date in future.
    Pinky

    Hi,
    Please elaborate on your problem.
    regards,
    Siddharth.

  • Due date update using GP APIs?

    Hi all
    I am working on the Due date update using GP APIs, I have done it at the "process" level. However I dont know how to trigger it at an activity level using GP APIs.
    Please tell me how to gain access to the Activity (Action) instance of the next processor from the current one? I have set the Due date statically at the process and activity level. Now I wish to allow the user to change the due date dynamically using GP APIs at the <b>activity</b> level.
    Ideas pls......
    regards
    LNV

    An other one!! I have set the due date manually in the process yet I dont see it in the UWL. Any thoughts on this? Thanks again.

  • I am receiving the data through the rs232 in labview and i have to store the data in to the word file only if there is a change in the data and we have to scan the data continuasly how can i do that.

    i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it.  I am gettting the data from rs232 interms of 0 or 1.  and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer

    I have attatched the vi.  Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off.  suppose if 0 comes the corresponding data status is wrtten into the text file.  But here the problem is the same data will be printed many number of times.  so i have to make it like if there is a transition from 1 to o then only print it once.  how to do it.  I am doing this from few weeks please reply if you know the answer immediatly
    thanking you 
    Attachments:
    MOTORTESTJIG.vi ‏729 KB

  • Recently had to purchase a replacement phone a friend of mine had backed up the data on the lost phone to his Mac laptop how do I get that backed up data from the lost iPhone that's on his Mac laptop to my new replacement phone? Please give step by step

    recently had to purchase a replacement phone a friend of mine had backed up the data on the lost phone to his Mac laptop how do I get that backed up data from the lost iPhone that's on his Mac laptop to my new replacement phone? Please give step by step instructions xoxoxo
    And my iTunes sign in is also screwed up... It is underneath my friends email (the one with my backed up data on his Mac laptop) HOW DO I CHANGE THIS SO THAT I CAN DOWNLOAD APP's again...

    I suspect unless he had some items in iCloud backup then they are gone.  Connecting an iPhone to a different library from that to which it was previously connected will result in the device asking if you want to erase it.

  • I want to transfer data through the serial port in the same coding that hyperterminal uses. How can i do it?

    The serial port seems to be working, and labview seems to be sending the data, but the problem is in which format does it send the data, because in hyperterminal i just input the string "JDX" and it sends it to my device, with labview it sends something but my device does not recognize it.

    nobuto wrote:
    > I want to transfer data through the serial port in the same coding
    > that hyperterminal uses. How can i do it?
    >
    > The serial port seems to be working, and labview seems to be sending
    > the data, but the problem is in which format does it send the data,
    > because in hyperterminal i just input the string "JDX" and it sends it
    > to my device, with labview it sends something but my device does not
    > recognize it.
    Hyperterminal adds the carriage return/line feed to the string which is
    generated by the return key to send out the current line. LabVIEW simply
    sends out what you tell it, so try to set the string to "Show \ Display"
    format and add a \r or \n or \r\n to the command you want to send out.
    Assumes of course that you set the right baudr
    ate/bits/parity etc in
    LabVIEW with the VISA property node, when opening the serial port.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Different due dates for the same SC

    Hi dear experts,
    We are facing a problem with our customer, the customer wants to have the flexibility in the system to create SC´s with 2 different characteristics, the first category are plans which work with the standard and we already have them working fine.
    For the second category, they want to be able to create a "SC 1" and sell it for example to certain "Student A",
    and charge him all the tuition in one payment, the problem comes when they want to sell the same "SC 1" to a "Student B", but in 3 payments with 3 different due dates or even in 5 installments to another student with 5 different due dates.
    The "SC 1" has to be always the same, we cannot create (request of the client) different plans to sort this issue. Also one student can be registered for both type of plans (the standard ones and the no-standard ones)
    The first plans are regular plans (semesters) but the second type can be shorter or complementary to his main SC.
    Is it possible to use a BAdI during fee calculation process to create a function module which allows to select the kind of due date payment each time? and only for the type second kind of category?
    or is it possible to use a BAdI which allow us to insert manually due dates before the fee calculation document is created for this second category without interfering with the first category which works fine?
    Thank you
    Sergio Artinano

    Alvaro,
    I am sorry, but I don't really understand your question.  It seems contradictory.  On the one hand, the customer want the same Program of Study used for both options.  But then, you say that one option is administered by Semesters while the other has different shorter sessions.  In that case, you really need different Session Variants for each case, which means you also need different Programs of Study.
    What is the basis for requiring them to be the same Program?  Couldn't it just be two programs that confer the same Degree/Qualification?
    I guess I don't understand the fundamental nature of this 'second option'.  For example, is it just a spearate registration 'option' for the program?  If so, you could model it as a Specialization.
    However, based on what I gather so far, I am thinking you need two programs.  Can you explain further what the two program options really are, and what they have in common with each other that makes the customer want to use a single SC object?
    Michael

  • Data access through the OLAP API

    We have created a number of Cubes from the AWM, and access the cubes from a web based application through the OLAP API. The cubes have both base measures and custom measures. Custom Measures are computed by creating the source object for given Formula Expression. The application works fine for a single user, but when a same cube is accessed concurrently by multiple users, we get the TransactionalObjectInvalidException when we call the MdmMeasure.getSource() function for the custom measures.
    Since each individual users have individual contexts and the static methods are properly sunchronized, we havent not been able to trace this error so far. The exception is thrown by oracle.olapi.data.source.ImmutableDefinition.checkValidity() API method. Error Trace is:
    oracle.olapi.transaction.TransactionalObjectInvalidException
    at oracle.olapi.data.source.ImmutableDefinition.checkValidity(Loracle.olapi.transaction.Transaction;)V(ImmutableDefinition.java:40)
    at oracle.olapi.data.source.SourceDefinition.getCurrentTransaction()Loracle.olapi.transaction.Transaction;(SourceDefinition.java:206)
    at oracle.olapi.data.source.SourceDefinition.getSource()Loracle.olapi.data.source.Source;(SourceDefinition.java:320)
    at oracle.olapi.metadata.mdm.MdmSource.getSource()Loracle.olapi.data.source.Source;(MdmSource.java:141)
    Any help will be highly appreciated.
    --Saajan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    We have created a number of Cubes from the AWM, and access the cubes from a web based application through the OLAP API. The cubes have both base measures and custom measures. Custom Measures are computed by creating the source object for given Formula Expression. The application works fine for a single user, but when a same cube is accessed concurrently by multiple users, we get the TransactionalObjectInvalidException when we call the MdmMeasure.getSource() function for the custom measures.
    Since each individual users have individual contexts and the static methods are properly sunchronized, we havent not been able to trace this error so far. The exception is thrown by oracle.olapi.data.source.ImmutableDefinition.checkValidity() API method. Error Trace is:
    oracle.olapi.transaction.TransactionalObjectInvalidException
    at oracle.olapi.data.source.ImmutableDefinition.checkValidity(Loracle.olapi.transaction.Transaction;)V(ImmutableDefinition.java:40)
    at oracle.olapi.data.source.SourceDefinition.getCurrentTransaction()Loracle.olapi.transaction.Transaction;(SourceDefinition.java:206)
    at oracle.olapi.data.source.SourceDefinition.getSource()Loracle.olapi.data.source.Source;(SourceDefinition.java:320)
    at oracle.olapi.metadata.mdm.MdmSource.getSource()Loracle.olapi.data.source.Source;(MdmSource.java:141)
    Any help will be highly appreciated.
    --Saajan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to restore iMac to an earlier date through time machine?

    how to restore iMac to an earlier date through time machine?

    http://support.apple.com/kb/ht1427
    Especially the section "Restoring Data from Time Machine Backups" and within this, the sub-section "Restoring your entire system from a backup"

  • How to make an action that does not record the path in which you save your file

    Hi all, once I set an action like this:
    and with the batch i can always choose the destination folder, time by time.
    But I tried to do a similar action that saves a png file, but I can't leave the "in: " empty, it always fill with a path.
    How can I do?
    Thanks a lot!

    Basically i need to create a new document out of a folder full of images.
    You may have to look into Scripting to achieve something like this.
    You could ask in the Scriptimg Forum
    Photoshop Scripting
    But maybe it would suffice to insert the Menu Item
    File – Scripts – Load Files into Stack
    into the Action and then iterate through the Layers with [ or ] and reset the opacities and Blend Modes – but as Actions would not be able to change the number of repetitions of the operation conditionally a custom Script would still seem preferable. 

  • Due date as the document date in Payment run

    Hi,
    We would like to have the invoice due date as the document date for the payment document.
    To explain in detail; let us suppose I am executing a payment run today i.e. 19.02.2008 with the next payment date as 31.03.2008. The payment program picks the invoice due on 25.02.2008 as well. The bank statement shows the document date as 25.02.2008 (as they will make payment on that date)but the system posts the payment document with the posting date as the document date.
    Can smebody help me to have the net due date of the invoice as the document date in the payment document created by F110.
    Thanks & Regards,
    Raghava

    Hi Anand,
    In your case, the Payment document is also a clearing document since you are not carrying out the manual clearing.
    The only way which can satisfy your requirement is not to have any payment term assigned to your Vendor to whom you want to pay thru F110.
    This will make your invoice immediately due, so when you pay your Payment document/Clearing document has the same date.
    (There is no other way to make the due date as clearing date/payment doc date since we do not know when the clearing/payment would happen)
    Hope this resolves your query.
    Regards
    Bharat

  • Is it possible to see next due date in the table.

    Hi everybody,
    I would like to know one information regarding next due date.  We are having one requirement we want to know the next due date in the table.  Actually we are able to get the same in FBL1N.  But it is generating at the time report generation because it is storing in the structure. 
    Is there any solution is available to see the same in any table.
    Thanks in advance.
    regards.
    Chandra Sekhar

    Hi
    Thanks for your reply.  By generating custom report, I can get the information.  Actually I want to know by considering the payment terms in the transaction data, whether the payment date is storing by system in any table or not.
    Thanks in advance if you are providing the information.
    regards.

  • How to get Capacity And Custom Attribute Data Through Powershell

    how to get Capacity And Custom Attribute Data Through Powershell

    Hi Nitesh,
    Great command from Martin.
    Also find a article to configure the Quota:
    http://technet.microsoft.com/en-us/library/aa998353(v=exchg.141).aspx
    Thanks
    Mavis Huang
    TechNet Community Support

Maybe you are looking for

  • HT201401 CHARGING IS NOT COMPATIBLE WITH THIS ACSESSORY

    i updated my ipad 1 as it was not charging. after i updated it all i plugged it into the charger and now it comes up charging is not compatible with this accsessory please help

  • Exits for XD02 - Checking of Tax Code

    Hi, Is there any user exit, enhancement or screen exit for XD02, for tab Control Data? Specifically for checking of Tax Codes. Thanks, Yanne

  • Linker error while packaging iOS app with my ANE

    While trying to write a iOS Native Extension for ZXingObjC (https://github.com/TheLevelUp/ZXingObjC), the following link error shows up when exporting in Flash Builder 4.x: Error occurred while packaging the application: Undefined symbols for archite

  • Won't align cartridge

    replace black ink cartage. have to align cartages. print scan page. don't detect scan page. every time that I try to align it prints a new page. I have wastes half of a new cartage just trying to align this **bleep**ing thing I want to disable the po

  • Prerequities for SRM 7.0

    Hi SDN, I want to know what are the Prerequities for SRM 7.0 ? how it will integrate with SAP R/3 ? Do we really require XI, MDM, BI and EP for SRM , if so for what pupose ? how long Period it take to implement SRM 7.0 in organization ? Regards, amit