First Workflow

Hi,
I am very new to Workflow and have just read few basics etc.
Now I have been assigned to create some notifications etc for my project.
But I am stuck in the initial point only. Beow is the description of the same.
Actually I have created a workflow having 3 functions namely as Start,myFunction,End. myFunction just inserts data into the table.
When I am calling hte workflow using PL SQL it is calling and invoking hte workflow but storing error_status as ERROR in the WF_items table. If I comment everything in the procedure which is called from myFunction then also same error comes.
I have checked in the WorkFlow Administrator but there error description is not present.
Please guide me thru.
Regards,
Prateek

Hi sarojak,
Thanks for your reply.
I am using the mentioned format only, below is the code details:
The below mentioned procedure is used for invoking the WorkFlow.
PROCEDURE INVOKE_WF(
P_PARAM IN NUMBER
IS
L_ITEMTYPE VARCHAR2(30) := 'XX_TEST';
L_ITEMKEY VARCHAR2(300) := P_PARAM;
BEGIN
WF_ENGINE.CREATEPROCESS(L_ITEMTYPE
,L_ITEMKEY
,'TEST_PROCESS');
WF_ENGINE.SETITEMUSERKEY(ITEMTYPE => L_ITEMTYPE
,ITEMKEY => L_ITEMKEY
,USERKEY => 'USERKEY: ' || L_ITEMKEY);
WF_ENGINE.SETITEMOWNER(ITEMTYPE => L_ITEMTYPE
,ITEMKEY => L_ITEMKEY
,OWNER => 'TEST_USER');
WF_ENGINE.STARTPROCESS(L_ITEMTYPE, L_ITEMKEY);
END INVOKE_WF;
As mentioned earlier I have 3 functions in all in my workflow as Start, myFunction, End.
Workflow is invoked properly and gets stuck in the myFunction(This I have seen in the Status Moniter inside WorkFlow Administrator). It is in ACTIVE state and not giving any error.
Below procedure is called from myFunction:
PROCEDURE FETCH_LEVEL_HIERARCHY(
ITEMTYPE IN VARCHAR2,
ITEMKEY IN VARCHAR2,
ACTID IN NUMBER,
FUNCMODE IN VARCHAR2,
RESULTOUT IN OUT VARCHAR2
Pls help.
Edited by: Prateek on Jul 7, 2011 1:17 AM

Similar Messages

  • Trouble With First Workflow

    This is my first attempt to make a workflow which has more than a couple steps and I cant seem to get it to work. This is for a generic SharePoint 2013 list. I've taken some online tutorials and watched some videos but none of them get me close enough to
    achieve what I'm going for. This is what I want the logic to be:
    When a new item is added by someone (we'll call them person X) begin the workflow.
    Immediately send an email to person Y with the details of the new item added
    wait until the "status" field has been changed
    Send an email to Z if status reads "approved" or "denied". Else (when the condition would read "Request more info") send an email back to X.
    If the approved/denied route is taken the workflow can end there, otherwise I want it to wait until the status field is updated again before the email is finally sent to Z.
    This is what I have in SharePoint Designer:
    When a new item is added the workflow starts and sends the first email however once I've updated the status on the list the workflow status shows it's still on Stage 1 and the workflow stays stuck there. What can I do about this?

    Hi Nathan_R,
    From the workflow steps, it is no strange that the workflow status is still on Stage 1 :).
    If you create a "send an email" work flow, Then it need't to approve/reject. 
    For your issue, create a "Start Approval Process" workflow named "approval" with SharePoint 2010 platform. Then create your SharePoint 2013 Platform workflow, use "Start a list workflow" action to call SharePoint
    2010 platform workflow "approval".
    Refer to the screenshot:
    Or you can create your workfolw in SharePoint 2010 platform, you should instead your first action"Send an email" with "Start Approval Process".
    If you have any other questions , please do not hesitate to let me know. It is my pleasure to be of assistance.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • On a list item which runs first workflow or event receiver?

    I have a list where workflow and event receiver is attached
    event handler fires on item updated and added and workflow fires for updating the item or so.
    Kindly let me know how the priority goes to each technically
    how sharepoint handling this internally
     very much thanks in advance.
    sudhanshu sharma Do good and cast it into river :)

    After events (ItemAdded and ItemUpdated) are asynchronous by default and run after the item is added/updated and you can’t tell exactly when it’s done. It's possible the workflow will start before the after event is done.
    If you need the workflow to run after the event receiver you can try option 1 below or go with option 2.:
    Make the after events synchronous (SharePoint 2010 and up) (link)
    Set the workflow to be started manually and in the event receiver’s code start the workflow (link)

  • Finally Created my First Workflow

    The following is copied and pasted from another thread I have going:
    http://discussions.apple.com/thread.jspa?threadID=2015298&tstart=0
    +Essentially my work flow is:+
    +download from camera;+
    +drag and drop to sort subjects;+
    +import subject folders to 'x' to change generic (P100013...) to kids.01.jpg;+
    +then in Get Info change again to kids.dana.01.jpg.+
    There's plenty of helpful suggestions and one pointed me to Automator where I created this:
    +Get Specified Finder Items > Get Folder Contents > Rename Finder Items. Then specifically Make Sequential > New Name (name entered) > Place Number 'after'+
    Ran it on a 'test' folder - renamed all images as directed. Viola!! When I download images from camera they still need to be manually dragged to Named folders. After that my little workflow will do wonders. Do you think it's possible Automator could 'present' me with 'previewed' images which I could enter text for detailed names?
    At this point Automator is doing the 'mass' middle step of renaming. After downloading I need to drag images to pre-named folders, then automator can rename the images to that of the new enclosing folder, and then I need to 'detail' the names .... at this point through Get Info.

    the theme I selected in iMovie wasn't recognized by iDVD either. iDVD opened a default theme and I had to change it. Same goes with the audio file. I had to reselect my iTunes file in iDVD.
    That is how it has worked in iMovie 5...but iM5 doesn't have themes so you always had to select the theme in iDVD and the option to add/change music was there, as well.
    Did the drop zone clips work if you did them directly in iDVD?

  • My first workflow

    I created one workflow in 4.6C system. and when I try to run the workflow ( to send mail when create material Event is "VIEWCREATED" ) I am not geting anything.
    When I check SWEL transaction, I am seeing Receiver type is coming blank.
    And in the SBWP I am getting error message
    Error processing following event linkage:
    BUS1001006 CREATED TS00008267
    Following error occurred:
    5W 301
    Message text:
    No role defined
    Event container contains following data:
    EVTCREATION_DATE              000000008D20080122
    EVTCREATION_TIME              000000006T120132
    EVTCREATOR                    000000014CUSMATHEWT
    EVTID                         000000020N00000000000000330125
    EVTLANGUAGE                   000000001CE
    EVTLOG_UPDATE                 000000001CX
    EVTNAME                       000000032CCREATED
    EVTOBJECT                     000000090oR3PCLNT300BUS1001006000000001000009998
    EVTOBJKEY                     000000070C000000001000009998
    EVTOBJTYPE                    000000010CBUS1001006
    EVTRECEIVER_ID                000000090C
    Event linkage with errors deactivated.
    What and where I have to fix. I have a demo today, I have to fix it before that.

    Hi,
    The problem is with  your event linkage, it looks like you have associated TS8267 ( standard decision task) with your BUS1001006.CREATED in Event Linkage ( SWETYPV) whereas TS8267 does not have any triggering event like BUS1001006.CREATED !!
    In order to have event linkage between an event and a workflow ( or a task ), that particulat event must be one of the triggering event of the workflow ( or task) you are using. Which is not correct in your case.
    However, associating a standard decison task TS8267  directly to an event is not a good idea !!
    As per your requirement, you just want to send an e-mail notification to 'someone' as soon as you get your event, go for a workflow with single step  ( or task will also do ) to send e-mail and in your workflow triggering event associate it to BUS1001006.CREATED  and activate the event linkage. Reg sending e-maisl from workflow, there are many ways to do it and its already been discussed many times in this forum. Check with that !!
    Regards
    Krishna Mohan

  • Ipad first workflow in lightroom mobile

    I like the editing options in lightroom mobile. Great job!
    My main usage of the ipad is preselecting and tagging images on tours or events and I am using Photosmith until now. This is not yet supported by lightroom mobile. Will creating smart previews from RAW and/orJPG files as well as editing metadata (rating, keywords, description...) be part of the next version(s)?

    Thank you so very much.  That is, unfortunately, the ONLY use that I have for the mobile app.  It will be useful **someday** but not today. Many, many thanks again.

  • Workflow stuck at the very first step

    Hi,
    The workflow is started and its stuck at the first step
    this is the very first workflow created in the client
    are there any standard background jobs that should be started for the workflow to proceed ?
    thank you

    hi,
    as venugopal suggested, check whether the event was triggered and then check whether the WF has actually started or not. you can check this using transaction SWEL or SWI1.
    if the event was triggered but WF hasnt started then you might not have activated the event linkage. this can be done in the "basic data" of the WF in the "start events" tab.
    Since you have mentioned that "The workflow is started and its stuck at the first step", probably the WF has started.
    can you specify the error message that you are getting?
    what is the fisrt step in your WF?
    give some details.

  • Daily problem starting workflow for the first time

    Hello,
    for one of our clients we have configured an OOTB workflow which handles the routing of incoming post on a daily basis using Kofax as scanning client to to release the incoming document to SP using a workflow for routering to the proper department. The problem
    we experience is that after every restart of the services, the first workflow is not triggered. After the first time, all workflows started after that are running fine.
    We already tried plaing around with the SP workflow timer job, but so far with no results. Does anybody had a similar experience? If yes, what's the cause of this problem and even better, what can we do to fix this? Customer is running on a SP2010 platform.
    Thanks
    Ludwig Stokkelaar
    OpenDocs bv
    email: [email protected]

    Hello all,
    for one of our clients we have configured an OOTB workflow which handles the routing of incoming post t the proper apartment on a daily basis using Kofax as scanning client. The problem we experience is that after every restart of the services, the first
    workflow is not triggered. After the first time, all workflows started after that, are running fine.
    We already tried plaing around with the SP workflow timer job, but so far with no results. Does anybody had a similar experience? If yes, what's the cause of this problem and even better, what can we do to fix this? Customer is running on a SP2010 platform.
    Thx
    Ludwig Stokkelaar
    OpenDocs bv

  • How to create a template for a Workflow

    I have created a workflow that has couple of dataflows inside it.
    Now, I need to create another 20 workflows which have the similar logic to that of the first workflow, except for couple of changes such as the source file, etc. Instead of creating the whole logic from the scratch for all the workflows, is there any way of using the first workflow as a template & create the 20 work flows quickly? 
    As per our req, i need to have different names corresponding to the different source files that am having.
    If i go with the option of replication of the data flows , i am facing the below issue:
    -> Change in the name of the dataflow/ change in any of the object within the dataflow (eg, changing the source file/ target table within a data flow)is also getting reflected in all the other data flows.
    I am looking out for a way wherein , if we make the change in the workflow/dataflow , it shouldn't change the original(template) workflow.
    A more detailed scenario.:
    I have a work flow, say WF_Microsoft to be created for pulling data from a source file "Microsoft"
    WF_Microsoft has two data flows DF_Microsoft1 -> DF_Microsoft2 (DF_Microsoft1 connected to DF_Microsoft2 )
    DF_Microsoft1 in turn has SourceTable_Microsoft as input & StagingTable_Microsoft as output
    DF_Microsoft2 in turn has StagingTable_Microsoft as input & TargetTable_Microsoft as output with some table comparison & query transformations in between them
    Now, i need to create Workflows for few other source files eg "SAP","Oracle" and so on with the same logic with the difference being that, the source file is different, the output/input within the dataflows are different tables. I am looking out for a solution where in i need not create the dataflows, drag the objects again & again for all the 20 files. But, instead should do it without much effort by just replacing the source & target tables.
    If i replicate, any change in the naming of the dataflow / change in the object is also reflected in the original one as well. But i need the original one to remain same.
    -Thanks,
    Naveen

    I have created a workflow that has couple of dataflows inside it.
    Now, I need to create another 20 workflows which have the similar logic to that of the first workflow, except for couple of changes such as the source file, etc. Instead of creating the whole logic from the scratch for all the workflows, is there any way of using the first workflow as a template & create the 20 work flows quickly? 
    As per our req, i need to have different names corresponding to the different source files that am having.
    If i go with the option of replication of the data flows , i am facing the below issue:
    -> Change in the name of the dataflow/ change in any of the object within the dataflow (eg, changing the source file/ target table within a data flow)is also getting reflected in all the other data flows.
    I am looking out for a way wherein , if we make the change in the workflow/dataflow , it shouldn't change the original(template) workflow.
    A more detailed scenario.:
    I have a work flow, say WF_Microsoft to be created for pulling data from a source file "Microsoft"
    WF_Microsoft has two data flows DF_Microsoft1 -> DF_Microsoft2 (DF_Microsoft1 connected to DF_Microsoft2 )
    DF_Microsoft1 in turn has SourceTable_Microsoft as input & StagingTable_Microsoft as output
    DF_Microsoft2 in turn has StagingTable_Microsoft as input & TargetTable_Microsoft as output with some table comparison & query transformations in between them
    Now, i need to create Workflows for few other source files eg "SAP","Oracle" and so on with the same logic with the difference being that, the source file is different, the output/input within the dataflows are different tables. I am looking out for a solution where in i need not create the dataflows, drag the objects again & again for all the 20 files. But, instead should do it without much effort by just replacing the source & target tables.
    If i replicate, any change in the naming of the dataflow / change in the object is also reflected in the original one as well. But i need the original one to remain same.
    -Thanks,
    Naveen

  • Duplicated workflows  for fast triggering event from CRM

    Hello,
    I'm facing an issue when a credit limit sales order is created in CRM.
    They are creating the order and manking a change to it 5 seconds later. Those created and changed events are triggered with a difference of 5 seconds and in background, the first WF is triggered (with the created event) and 5 seconds later other instance of that WF is triggered (with the changed event).
    The problem is that the first WF is not being logically deleted when the seconds one is created (it has a wait step at the beggining of the WF to end in case another instancer of the WF is triggered).
    This is caused by a perfoirmance issue that when the seconds WF is triggered, the first one is still not listening to the changed event.
    Do you know if there's any way to solve this?
    Thanks!

    Hi MatiasAZ,
    In the first workflow(created) check the event. It should be the 'changed' event and proper binding should be there.
    If everything is fine, after the wait for event create a process control with the option as 'Complete workflow'.
    Initially your workflow should have the fork step type with two branches. Maintain the changed event wait step in one branch and created events step in other branch. So that the workflow will wait for 'Changed' event and workflow will be completed if the 'Changed' event occurs in the system.
    Thanks,
    Viji.

  • Workflow for Vendor Creation through a portal.

    Hi All Workflow Experts,
                                         I have a scenario here.In my project  vendor is created through a portal.On submit button from portal the workflow is to be triggered.I have to design the workflow process.So can you please guide me through what all should i consider while i design this workflow?
    This is my first workflow assignment so if you explain in detail it will be a great help.
    I will just pen down what all scenarios i can think of:
    1.Start workflow after vendor creation or modification.
    2.Check whether approver are maintained in Org structure through  standard FMu2019s.
    3.Check If approvers are maintained ?
    4.If yes,approve or reject the vendor.
    5.If no,get the agents from the custom table who can take an action on this.
    This is what i can think of.
    Please guide me.
    Thanks in Advance,
    Saket.

    The corresponding BO related with the vendor creation or changing is LFA1 but this Business object doeanot have any events that are related to Create and Change , so try to create a ZLFA1 and add you own events or make use of delegation concept where you will create a delegation for LFA1.
    For your first isssue
    Start workflow after vendor creation or modification
    EXIT_SAPMF02K_001 Vendors: User Exit for Checks prior to Saving is the user exit where in you can call the workflow when ever you change or create , because this user exit will trigger when ever you try to save the vendor. so i think you can make use of this user exit
    For your second Issue
    Check whether approver are maintained in Org structure through standard FMu2019s.
    Make use of SWI_GET_USERS_OF_ORG_UNIT this fucntion mdoule to get the user of the ORG unit
    or you can create a Rule(for determining the agents dynamically) to find the approvers.

  • Entity Framework - Code First - Migration - How to access SQL Server and Oracle using the same context?

    Hello,
    I use Entity Framework code first approach.
    My project is working fine with SQL Server. But, I want to access Oracle too. I want to switch SQL Server and Oracle in run time.
    I am able to access Oracle using "Oracle.ManagedDataAccess.EntityFramework.dl" in a new project.
    But, Is this possible to access SQL Server and Oracle in the same project.
    Thanks,
    Murugan

    This should be possible with a Code-First workflow.  In Code-First the database mapping layer is generated at runtime.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • HCM Process and Forms Workflow

    Experts,
    I started a sime Forms and process scenario. Forms and workflow were developed and thw work item goes to dump when testing.
    It is the new server, I configured everything in SWU3. Agent also Workflow_Initiator.
    Error Details :
    No errors occurred -> Details in long text
    No errors occurred -> Details in long text
    Error when starting work item 000000852098
    Error when processing node '0000000010' (ParForEach index 000000)
    Error when creating a component of type 'Step'
    Error when creating a work item
    Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event BEF_CREAT and (target) status : Excep
    Error when reading the process object: GUID is initial
    Work item 000000852098: Object FLOWITEM method EXECUTE cannot be executed
    Error when processing node '0000000050' (ParForEach index 000000)
    Error when creating a work item
    Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event BEF_CREAT and
    Error when reading the process object: GUID is initial
    Work item 000000852098: Object FLOWITEM method EXECUTE cannot be executed
    Error when processing node '0000000010' (ParForEach index 000000)
    Error when processing node '0000000010' (ParForEach index 000000)
    Thanks,
    Helps will be highly appreciated.

    Hi,
    Thanks for the reply swaminathan. I did swu_obuf. No result.
    Also i found there is nothing in workflow container in the log. But I passed some static data's to the container using binding.
    WF container                    Task container
    Zform_1                             Form_scenario
    Here the zform_1 passed to task container using binding.
    But in log there is no data in task container. What could be the issue?
    Also this is the new server and this is the first workflow. I configured SWU3 and I developped one test workflow(User decision and Mail step) and its working fine.
    Any configuration issue?
    Thanks.

  • Workflow API = Need Help

    Hello All
    We are trying to cusotomize the already shipped fingood order type . we are creating one more order type which should not got down to wms for processing. The already exisisting one is working fine.It is going to the the else part and processing fine.If it is 'Y' it should not go down to wms for processing and complete the workflow. It is not going there at all.we have defined a lookup to fetch the records for processing i.e it should not go down to wms. I am using the org_organization_definitions table to join with the lookup. Could anyone pls help me.This is my first workflow api.
    PROCEDURE GET_DELIVERY_NAME_AS
    ITEMTYPE IN VARCHAR2,
    ITEMKEY IN VARCHAR2,
    ACTID IN NUMBER,
    FUNCMODE IN VARCHAR2,
    RESULTOUT OUT VARCHAR2
    ) IS
    l_shipper_id NUMBER;
    l_delivery_name VARCHAR2(30);
    x_return_status VARCHAR2(10);
    x_error_message VARCHAR2(2000);
    x_header_rec oe_Order_Pub.Header_Rec_Type;
    PW Warehouse Change
    l_lookup_enabled VARCHAR2(1) := 'N';
    l_order_number VARCHAR2(30);
    l_lookup_type gcca.gcca_fnd_lookup_values_all.lookup_type%TYPE;
    --x_line_rec                        oe_Order_Pub.Line_Rec_Type;
    --x_line_tbl                          OE_ORDER_PUB.Line_Tbl_Type;
    l_organization_id org_organization_definitions.organization_id%TYPE;
    l_ship_from_org_id oe_order_lines_all.ship_from_org_id%TYPE;
    BEGIN
    IF funcmode = 'RUN' THEN
    BEGIN
    INSERT INTO gcca_wf_ordtyp_tmp(ENABLED_FLAG)VALUES('1');
    --COMMIT;
    SELECT lookup_type,
         NVL(enabled_flag,'N')
         INTO l_lookup_type,
         l_lookup_enabled
         FROM apps.org_organization_definitions ood,
         gcca.gcca_fnd_lookup_values_all glv
         WHERE glv.lookup_type = 'GCCA_OM_WMS_EXCLUDE'
         AND glv.enabled_flag = 'Y'
         AND ood.organization_code = glv.lookup_code
    AND ood.organization_id = l_ship_from_org_id; --NVL(x_line_rec.ship_from_org_id,l_organization_id);
    EXCEPTION
    WHEN OTHERS THEN
    l_lookup_enabled := 'N';
    END;
    --INSERT INTO gcca_wf_ordtyp_tmp(enabled_flag)VALUES('l_lookup_enabled');
    INSERT INTO gcca_wf_ordtyp_tmp(enabled_flag)VALUES('2');
    --COMMIT;
    --SELECT order_number
    --INTO   l_order_number
    --FROM   apps.oe_order_headers_all
    WHERE header_id = x_header_rec.header_id;   TO_NUMBER(itemkey);
    INSERT INTO gcca_wf_ordtyp_tmp VALUES (x_header_rec.header_id,x_header_rec.attribute6,l_lookup_type,l_lookup_enabled);
    IF l_lookup_enabled = 'Y' THEN
    INSERT INTO gcca_wf_ordtyp_tmp(ENABLED_FLAG)VALUES('3');
    --COMMIT;   
    l_order_number := GCGX.GWMS_COMMON_PKG.CONSTRUCT_DELIVERY_NAME(GCGX.GWMS_COMMON_PKG.GET_SHIPPER_UID);
    x_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
    x_header_rec.header_id := to_number(itemkey);
    x_header_rec.attribute6 := l_order_number;
    x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
    GCCA_ONT_BRET_UTIL.update_header
    P_HEADER_REC => x_header_rec,
    X_RETURN_STATUS => x_return_status,
    X_ERROR_MESSAGE => x_error_message
    Gcca_Ont_wf_util.Add_Log_Msg('Return Status : '||x_return_status);
    resultout := 'COMPLETE:SUCCESS';
    --To test the values    
    --INSERT INTO gcca_wf_ordtyp_tmp VALUES (x_header_rec.header_id,x_header_rec.attribute6,l_lookup_type,l_lookup_enabled);
    --COMMIT;
    ELSIF l_lookup_enabled = 'N' THEN
    INSERT INTO gcca_wf_ordtyp_tmp(ENABLED_FLAG)VALUES('4');
    --COMMIT;
    GCGX.GWMS_Already_Shipped_Orders.Process_Already_Shiped_Order
    to_number(itemkey),
    l_shipper_id,
    x_return_status
    INSERT INTO gcca_wf_ordtyp_tmp(ENABLED_FLAG)VALUES('5');
    --COMMIT;
    IF to_number(x_return_status) > 0 THEN
    wf_core.context
    'GCCA_ONT_WF_UTIL',
    'GET_DELIVERY_NAME_AS',
    itemtype,
    itemkey,
    TO_CHAR(actid),
    funcmode
    resultout := 'COMPLETE:FAIL';
    ELSE
    l_delivery_name := GCGX.GWMS_COMMON_PKG.CONSTRUCT_DELIVERY_NAME
    l_shipper_id
    x_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
    x_header_rec.header_id := to_number(itemkey);
    x_header_rec.attribute6 := l_delivery_name;
    x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
    GCCA_ONT_BRET_UTIL.UPDATE_HEADER
    P_HEADER_REC => x_header_rec,
    X_RETURN_STATUS => x_return_status,
    X_ERROR_MESSAGE => x_error_message
    Gcca_Ont_wf_util.Add_Log_Msg('Return Status : '||x_return_status);
    resultout := 'COMPLETE:SUCCESS';
    --INSERT INTO gcca_wf_ordtyp_tmp VALUES (x_header_rec.header_id,TO_NUMBER(l_delivery_name),l_lookup_type,l_lookup_enabled);
    END IF;
    END IF;
    END IF;
    IF FUNCMODE = 'CANCEL' THEN
    RESULTOUT := 'COMPLETE';
    END IF;
    EXCEPTION when OTHERS THEN
    wf_core.context('GCCA_ONT_WF_UTIL','GET_DELIVERY_NAME_AS',
    itemtype,itemkey,TO_CHAR(actid),funcmode);
    RAISE;
    END GET_DELIVERY_NAME_AS;

    I'm opening up an old thread, because it seems reasonably relevant to my problem.
    If I'm using database users as my workflow users, can I send them e-mail notifications? The view wf_user populates the e-mail column with contents of the column username from dba_users -- so clearly this column will never contain a valid e-mail address (unless there are varying versions of this view and I have the wrong one installed for my purposes).
    And can anyone point me to the relevant documentation on this. I've gone through the Admin Guide and the Developers Guide.
    Many thanks,
    Scott

  • SharePoint Online, Stop Workflow when Item Changed

    Hello,
    I have a workflow that sends an email to certain individuals upon creation and then sends a follow up reminder in 30 days if a specific field has not been changed.  I want to edit that workflow to only send the reminder if the list item has not been
    changed since creation (ie: modified date is after created date).  Then create a second workflow that starts once the item is changed to send a different reminder email if the list item has been updated but not completed.
    The problem I am having is that the workflow that sends the initial email is technically "changing" the list item and therefore triggering the second workflow which I don't want to happen.  I tried to use the "If any value equals value"
    condition on the "created" (date/time) and "modified" (date/time) fields but sending the initial email changes the modified field so they're never equal.
    If there were a way to define a timestamp as [created date/time + X] I could set X to be 1 miute and then use the greater than or less than functions of the "If any value equals value" condition to make this work.  Doesn't seem possible
    to do.
    Does anybody have any ideas of how to get around this?
    I'm using SharePoint Online with O365 if that makes a difference.
    Thanks,
    Jared

    add a column called 'start next workflow' which should be a Boolean with a default value of NO
    in your first workflow, only at the point it should end, make the last action to change this new field to YES
    in your second workflow, add a condition so that it only runs if this field is set to YES
    Regards
    Sergio Giusti Sergio Blogs
    Linked
    In Profile
    Whenever you see a reply you think is helpful, click Vote As Helpful.
    Whenever you see a reply you think is the answer to the question, click Mark As Answer.

Maybe you are looking for