Emailing external user using a workflow in Sharepoint 2013

I am currently trying to create a list where the user can upload a document, input an email address (external) and an expiration date. I then have a workflow that will send an email on the expiration date. The problem I am getting is that Sharepoint 2013
doesn't like emailling externally.
22/01/14: I have since found that this isn't a problem with exchange, as Sharepoint is trimming the addresses out of the original workflow. Does anyone know how to stop this.
Please help.
Evil Genius at Work. DO NOT DISTURB!!!

you need to allow their IP address to relay anonymously in Exchange.
http://social.technet.microsoft.com/Forums/sharepoint/en-US/c55a6a68-c6e3-4f4d-b5ed-d4e2892fe490/sharepoint-2010-email-external-users-in-a-workflow?forum=sharepointcustomizationprevious
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Similar Messages

  • Changing credentials used in Workflow in SharePoint 2013

    I am  using an HttpSend activity in my SharePoint workflow developed in Visual Studio 2012. The web service I am accessing in the activity requires authentication. Also, the security policy requires that these credentials change in regular
    intervals. What is the best practice for storing the credentials so I don't need to re-associate the workflow every time the web service credentials change. Note: Currently I am using the SharePoint Secure Store where I read the credentials from the store
    at the time I associate the workflow with the list. However, this solution requires a re-association of the workflow when credentials change.

    How do you use the SharePoint Secure Store during association?
    The Secure Store has no client side API.
    Possible solution is to create WCF service which will use the Server-side object model and will return the credentials and then you can use the HttpSend and use the WCF service.

  • Is it supported to use shared mailboxes in SharePoint 2013 Workflows?

    We try to send an email to a shared mailbox (Exchange 2007) from a workflow in SharePoint 2013. No errors are shown in the workflow but the message does not arrive in the mailbox. If we do the same with an user mailbox it works.
    Both Exchange and SharePoint are on-premises.
    Is it supported to use shared mailboxes in SharePoint 2013 Workflows?

    If it is a mailbox then mail should be delivered.
    Please check if mail is in C:\Inetpub\ pickup or drop folder
    also check if emails to normal mailbox works fine

  • Possible to fill a list using a custom Workflow in Sharepoint 2013

    Is it possible to develop a custom workflow that compares a Contact List and the Active Directory and add any missing people to the list? Or is this a functionality not available with workflows and sharepoint 2013?

    Instead of workflow you can do this,
    Have user profile service application set up ,which will run on daily basis by default(you can configure to run Hourly/Minutely also) to import all users along with user attributes(email, department ..etc) to SharePoint. Configuring  UPS :
    http://blog.anuragg.com/2012/12/configure-user-profile-service.html
    Create an item added event receiver on your "Contacts" list ,build business logic to fetch the corresponding  user details from the above synced user profile properties. Retrieving User profile properties :
    http://msdn.microsoft.com/en-us/library/office/jj163182(v=office.15).aspx
    Please remember to click Mark as Answer on the answer if it helps you

  • How to create a three state approval workflow in SharePoint 2013 using visual studio 2013

    Hi Everyone,
    i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
    Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
    i want develop this workflow using visual studio 2013 only, not using designer.. 
    Thanks in Advance.....
    Mallesh

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Sending email to user using the notification template in OIM 11g

    Hi all
    I have created a Notification Template using web console in OIM 11g.
    Iam able to access the contents from notification template in my java code.
    But iam not able to find the correct api's to send email to user using the notification template
    (like tcEmailNotificationUtil using this class we can connect to email template created in design console and creating IT resourse we can send email to user using the method sendEmail).
    Waiting for your help and pointers
    Thanks and Regards
    Bipin patil

    Thanks GP!.
    But i have the same doubt here.
    "The Notification Event is defined through a XML file that must be loaded into MDS database." - in which path and in what name it should be.
    Because under /metadata/iam-features-notification, i couldnt see any event Xml present. I thought atleast we could see the existing OOB notification template's event xml files.
    Please let me know if you are aware.
    Thanks,
    Amudha

  • Reading values from lookup columns through custom workflow in SharePoint 2013

    We are able to read the values of text, number columns through custom workflow (via coding) in SharePoint 2013. However, we are not able to read values from lookup columns. So, request anyone to provide help on this.
    Thanks & regards,
    Aditya

    Hi,
    According to your post, my understanding is that you want to read values from lookup columns through custom workflow in SharePoint 2013.
    Since the workflow just doesn't get lookup fields, let's give it something static to work with instead. If we can capture the ID of the lookup field and store that as a static value in our list, the workflow can happily use that to look up our related.
    For more information, you can refer to:
    SharePoint 2013 Workflows and Lookup Columns
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Multiple "Workflow Task (SharePoint 2013)" content type found

    Users on one specific sub-site reported that they are unable to add site columns to content type. When user clicks "add existing site column" user get error message - upon looking up on ULS, it indicate there were duplicate column "System.ArgumentException:
    No two choices should have the same ID". I came across similar issue on different site before and resolved it by deleting duplicate column, plus that site column was not used on any list or associated with any content type but this time duplicate
    column is "Task outcome" column which is associated with "Workflow Task(SharePoint2013)" content type. So looking up these two specific site column and content type I noticed there are 8 occurrence of each at affected site
    level (see below on image).
    Similarly there are 8 "Task Outcome" columns under Site Columns. So I refreshed staging env with prod copy and tried to delete "Workflow Task(SharePoint 2013" content type and got error message as shown below. Under Site features, I noticed
    "SharePoint 2013 Task List" feature was enabled, hoping this will do the trick I disabled it as we still use SharePoint 2010 workflows, but to no avail.
    Sorry, something went wrong
    The content type "Workflow Task (SharePoint 2013)" is part of an application feature.
    Not sure how it got started and something will try to find out but any advise on how to fix this issue?
    Thanks,
    MK Sin

    Hi Sin,
    According to your description, my understanding is that the users got an error when clicking “add existing site column”.
    For deleting the duplicate “Task outcome”column, you need to go to the “Workflow Task(SharePoint 2013)” content type, click the “Task outcome” column, and remove it from the content type.
    Then go to site columns, find the duplicate columns, and delete them and make sure only one “Task outcome” column exists.
    After the above, re-add the “Task outcome” into the “Workflow Task(SharePoint 2013)” content type.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Workflow in SharePoint 2013: Update item in list

    I have a task list where anyone can post a suggestion for a blog. There is a string field for the status.
    I have a library where the author can upload the blog article when ready to send for review. Uploading the document triggers the workflow to start. This document is reviewed twice and when the author is satisfied it will go for translation and then for web
    publication.
    All of this is worked out in the workflow except for one thing: I would like to update the task list at each stage of the process to the current status. Since it can all be done programmatically, I don't need to use a "choice" field. The string
    field would be just fine. One of the things I saw in my research is that "choice" fields won't update.
    I have put a lookup field in the blog article library to correspond with the title in the task list to create a relationship.
    First of all, is it possible to do to update a task from a document library, or am I just spitting in the wind? If so, why doesn't it work?

    which specific field you want to update after task approval. Did you create a content type based on workflow task (SharePoint 2013) and associated that particular content type with your task list?
    I repeat my question - do you want to update task list after the task execution or just after assignment?
    If its just after assignment then I think its not possible OOB and if its after the execution of the task then its doable OOB since there are two variables set as task out i.e. task outcome and TaskID (guid of the current task list item) and from that TaskID
    you can lookup the task list item and update any field.

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Send email to external user using fm 'SO_NEW_DOCUMENT_ATT_SEND_API1'

    Hi friends,
    I wrote this code to send mail to external user from sap.
    It did not work properly can anyone help me to send email to extenal user.
    The return code after executing the function module is 2.
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS  2 WITH HEADER LINE.
    DATA: OBJHEAD LIKE SOLISTI1   OCCURS  1 WITH HEADER LINE.
    DATA: OBJBIN  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE.
    DATA: OBJTXT  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1  OCCURS  5 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: TAB_LINES LIKE SY-TABIX.
    Creating the document to be sent
    DOC_CHNG-OBJ_NAME = 'OFFER'.
    DOC_CHNG-OBJ_DESCR = 'abcd'.
    OBJTXT = 'aaaaaaaaaaa:'.
    APPEND OBJTXT.
    OBJTXT = 'bbbbbbbbbb'.
    APPEND OBJTXT.
    OBJTXT = 'ccccccccccccc.'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    RECLIST-RECEIVER = mail address.
    RECLIST-REC_TYPE = 'U'.
    RECLIST-COM_TYPE = 'INT'.
    RECLIST-NOTIF_DEL = 'X'.
    RECLIST-NOIF_NDEL = 'X'.
    APPEND RECLIST.
    Creating the entry for the compressed document
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM   = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM   = TAB_LINES.
    OBJPACK-DOC_TYPE   = 'RAW'.
    APPEND OBJPACK.
    Creating the document attachment
    (Assume the data in OBJBIN are given in BMP format)
    OBJBIN = ' \O/ '. APPEND OBJBIN.
    OBJBIN = '     '. APPEND OBJBIN.
    OBJBIN = ' / \ '. APPEND OBJBIN.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    OBJHEAD = 'picasso.bmp'. APPEND OBJHEAD.
    Creating the entry for the compressed attachment
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM   = 1.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM   = TAB_LINES.
    OBJPACK-DOC_TYPE   = 'BMP'.
    OBJPACK-OBJ_NAME   = 'ATTACHMENT'.
    OBJPACK-OBJ_DESCR = 'Reproduction object 138'.
    OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK..
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA = DOC_CHNG
              PUT_IN_OUTBOX = 'X'
              COMMIT_WORK   = 'X'
         TABLES
              PACKING_LIST  = OBJPACK
              OBJECT_HEADER = OBJHEAD
             CONTENTS_BIN  = OBJBIN
               CONTENTS_TXT  = OBJTXT
               RECEIVERS     = RECLIST
          EXCEPTIONS
               TOO_MANY_RECEIVERS = 1
               DOCUMENT_NOT_SENT  = 2
               OPERATION_NO_AUTHORIZATION = 4
               OTHERS = 99.
    IF SY-SUBRC NE 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hi,
    Check in SCOT t-code whether it has been properly configred to send the mails
    Regards,
    siva chalasani.

  • Getting error while publishing workflow using SP designer for SharePoint 2013

    Hi,
    I am try to setup Workflow manager for our sharepoint applications.
    WF manager set ran without any issue.
    I registered the SPWorkflow service which succeeded as well. The Workflow service application shows "Workflow is connected"
    I am creating a workflow using sharepoint designer using my credential (not Service account). I am able to save it but while publishing, its prompting with an error.
    The error says "Errors were found while compiling the workflow.The workflow files were saved but cannot run." Clicking advanced button show
    "Microsoft.SharePoint.SPException: We're sorry, we weren't able to complete the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator.
       at Microsoft.SharePoint.SPScaleOutDatabaseMap.CreateSqlSession(ISPScaleOutDatabaseMapProvider mapProvider, Byte[] compositeKey, Guid forceRefreshVersion, Guid& version)
       at Microsoft.SharePoint.SPScaleOutDatabaseCommandExecutor.Execute(ExecuteDelegate operation, ISPScaleOutDatabaseMapProvider mapProvide"
    Any help would be highly appreciated
    Thanks,

    Hi,
    According to your post, my understanding is that you got error while publishing workflow using SharePoint designer for SharePoint 2013.
    Please check whether the Central Admin > Manage Service Application-> “App Management Service” is started.
    Please check whether the “Configure service application associations”,  ”App Management Service” is already associated.
    Then please check whether the “Manage Services on server” and the “App Management Service” is started.
    In addition, please try to re-register Workflow Service.
    If the issues still exists, please follow the steps in the
    Steps to Verify that Server Is Correctly Set Up. After you verified that the server is correctly set up, follow the steps in the
    Steps to Troubleshoot Workflow Management Service and
    Troubleshooting the Service Bus for Windows Server then retry your action related to publishing workflows
    More information:
    http://wp.ahcheng.com/2013/03/23/error-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/
    http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Workflow in SharePoint 2013

    Give me a simple way to create Leave approval 2 levels of approval in SharePoint 2013 Using SharePoint Designer 2013....
    1. I created a List in sharepoint 2013 with these fields ... ( Name, Re. No. Leave Type, Start Date, end date )
    2. The Approver names  and endorser details (email and dept.) i stored in Custom list..
    Hai

    Try following below:
    http://office.microsoft.com/en-in/sharepoint-server-help/use-an-approval-workflow-HA101793831.aspx
    http://blogs.msdn.com/b/sharepoint__cloud/archive/2012/01/05/send-holiday-request-to-your-reporting-manager-for-approval.aspx
    Below are the steps to get it done.
    1. Open SharePoint Designer 2010 and get connect to the site. In my case,
    http://sp2010:81
    2. Under the Site Objects, click on Workflows.
    3. Choose List Workflows, and click on Calendar ( I am using the default calendar).
    4. In the Editor, in the Step 1, type " send" and choose send email to
    these users. Click on these users and select browse button to add users to "To". Select
    User who created current item. 
    5. Add another Step in Editor. (Step 2)
    6. Click on Actions in Ribbon, and choose Lookup Manager of the
    User. Click on user and choose User who created current item. In the Output variable , choose new variable and name it ManagerName.
    7. So now we have Manager is of the current user who has submitted the Holiday Request. New we need to assign Task to the manager for approval or rejection.
    8. You can put a "send email" steps to send email to the manager. Same as 4th point, but here you need to click on
    Workflow Lookup for a User . In Data Source choose Workflow Variables and Parameters & in Field from source choose ManagerName.
    9. Click on Actions in Ribbon, select collect data from user.
    10. Click on data, it will start a Wizard. Click Next, Enter the name for the task and suitable Description ( such as Name: Holiday Request). Click next.
    11. Here you need to add a field. Click Add, give the field name as Holiday Request. Information type has to be Choice type. Click Next
    12. In the column Settings, add the options that you want to give to manager, such as Approval, Reject in seperate lines. Click Finish.
    13. Click this user and select ManagerName similar to point 8.
    14. Click on variable and choose new variable and choose Holiday variable.
    15. Almost done.... Now all we need to do it compare the Holiday variable value.
    16. Add another Step ( Step 3) in the editor.
    17.Click on Conditions in Ribbon and select If value equals value, click on 1st value in the condition, click on fx button. Make sure Data Source is Workflow Variables and Parameters, Field from Source Variable: ManagerName.
    18. In the 2nd value field in the condition, enter Approved.
    19. If this condition holds true then send an email to the Submitter (Same as point 2)
    20. Add another Else if condition and this time 2nd value field in If value equals value
    should be Rejected.
    http://stackoverflow.com/questions/20609074/how-can-i-create-leave-approval-in-sharepoint-2010

  • SPUCWORKERPROCESS.EXE is not running message when debugging workflow on Sharepoint 2013

    When I launch my workflow from Visual studio 2013 I get an error saying "Unable to attach. SPUCWORKERPROCESS.EXE is not running".
    I verified that "Microsoft SharePoint Foundation Sandboxed Code Service " is running in Central Administration"
    I pass these commands from powershell:
    $acl = Get-Acl HKLM:\System\CurrentControlSet\Control\ComputerName 
    $person = [System.Security.Principal.NTAccount]"Users" 
    $access = [System.Security.AccessControl.RegistryRights]::FullControl 
    $inheritance = [System.Security.AccessControl.InheritanceFlags]"ContainerInherit, ObjectInherit" 
    $propagation = [System.Security.AccessControl.PropagationFlags]::None 
    $type = [System.Security.AccessControl.AccessControlType]::Allow 
    $rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access, $inheritance, $propagation, $type) 
    $acl.AddAccessRule($rule) 
    Set-Acl HKLM:\System\CurrentControlSet\Control\ComputerName $acl
    And I run Visual Studio 2013 as Administrator.
    Effectively when I look in Task Manager there is no SPUCWORKERPROCESS.EXE but a lot of SPUCWORKERPROCESSPROXY.EXE.
    My environnement developpement is a single Windows Server 2012 R2 as Domain Controler with Sharepoint 2013 SP1  and February 2015 Cumulative Updates. Visual Studio 2013 Update 4.
    Any idea

    Hi,
    Per my understanding, there is an issue when deploying a workflow solution from Visual Studio.
    I suggest you check the ULS logs to collect more information for troubleshooting this issue.
    About how to check the ULS logs:
    http://blogs.technet.com/b/fesiro/archive/2013/11/11/sharepoint-logging-and-troubleshooting-using-ulsviewer.aspx
    http://blogs.c5insight.com/Home/tabid/40/entryid/190/All-About-SharePoint-2010-ULS-Logging.aspx
    Also, you can try creating an empty SharePoint project without extra customization for a test to see if the issue persists. 
    Thanks
    Patrick Liang
    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]

  • How to test the migrated workflows in SharePoint 2013

    Hi, we are migrated the portal from SharePoint (Moss) 2007 to SharePoint 2013 using Doc Ave tool.
    Now my concern is how to test all (OOTB and SharePoint Designer) workflows are working properly in SharePoint 2013.
    How to approach? Any ideas/help will be appreciated.

    Hi Ashok,
    Have the business users that use them or the folks that created them test them in the DEV environment prior to the PRD migration...
    -Ivan

Maybe you are looking for

  • Escaping from Ubuntu

    Good day everyone. As I cannot find a previous thread on this subject here goes. I ran Ubuntu from a bootable disk and then found I could not get back into OS X. I tried all the startup options and never got to see the startup disk option I.E. press

  • ABAP rights on IDES Server

    Hi Gurus we have IDES server installed. while doing some apap work ,   received a message " Access Key required"  > you are not registered as developer. we are sap customer. have installed  SAP ECc6.  i think it is free. ? thanks \ thomas

  • Is there really no way to buy full apps/games not ...

    I was just wondering why are some apps/games only available to certain country I want to buy angry birds full but its not available in ovi store.

  • Regaining Classic after getting rid of Classic

    Last summer I upgraded my OS from Jaguar to Tiger. My husband and I decided that it was unneccessary for us to have the Classic Environment since we hadn't used it in ages. Then he bought a computer game w/out realizing that it needed Classic to run.

  • Unable to read or write to Zen

    It seems from searching, that this has been a problem for others. All was fine with the Zen until yesterday. It will not allow me to read or write to anymore. I have checked the device manager and it says it is working properly. It is on when plugged