How to put if condition by using visual studio 2012 for project server 2013 worflow

Hi,
 If Project Data:Funding Required equals Yes
    Go to s2- Lead Approval
Else
    Go to End of Workflow
 above condition is used it in sharepoint designer. I want same condition used in visual studio 2012.
Please help me how to get fields of project server in visual studio 2012.
Thanks in Advance in helping us.
Thank you
Vinay

Hi Vinay,
I can't help you for the code, but the IF THEN ELSE statement is pretty well documented in the article below:
http://msdn.microsoft.com/en-us/library/752y8abs.aspx
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS |

Similar Messages

  • How create Windows Services in Azure using Visual Studio 2012

    Hi,
    I have a need to write a Windows Service (Batch Job), which would execute everyday at a specified time, say 4:00AM. This job will do some processing and will send out an email to predefined users. I am using Visual Studio 2012 for the development.
    Based on some research, it looks like that Azure doesn't have a concept of Windows Service. Rather, we need to create WorkerRole to achieve the same.
    I wrote the code to implement the WorkerRole. The problem, I am facing is that
    1. How to prevent the continuous looping of the code below? I want the task to be executed only once a day at 4:00AM
    2. How do I schedule this functionality in Azure?
    Any help will be highly appreciated. I have provided the code sample below.
    Thanks.
       public class WorkerRole : RoleEntryPoint
            public override void Run()
                while (true)
                    SendNewsEmail();
                    Thread.Sleep(10000);
           private void SendNewsEmail()
                /*Email Logic Goes Here*/
            public override bool OnStart()
                // Set the maximum number of concurrent connections
                ServicePointManager.DefaultConnectionLimit = 12;
                return base.OnStart();

    HI
    I think JuneT's answer is what you want.
    However it's for Azure website.
    If you still want to use a workerRole, you need much harder work.
    You can use Timers Class to do such things:
    http://stick2basic.wordpress.com/2013/02/22/how-to-schedule-a-c-windows-service-to-run-a-method-daily/
    How do I schedule this functionality in Azure
    I suggest you save the settings file in a cloud table, and notify your webrole using WCF service to let the service get the new settings when your changed it.
    My Blog
    Please use Make as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

  • How to create demand management workflow using visual studio

    Hello all,
    I need to create demand management workflow (Project server 2013) using visual studio 2012. I need to understand how we can write code in it. Any references??

    Hi Shanila,
    Here are some of the articles you can use for designing workflows using Visual Studio.
    Getting started Project Server 2013 Workflows :
    http://msdn.microsoft.com/en-us/library/office/ee767694(v=office.15).aspx
    Using workflow for Demand Management:
    http://technet.microsoft.com/en-us/library/dn458861(v=office.15).aspx
    Creating Project Workflows using Visual studio 2012:
    http://blogs.msdn.com/b/project_programmability/archive/2012/11/07/creating-project-workflows-using-visual-studio-2012.aspx
    Thanks,
    Phani

  • Sharepoint 2013 - Can I use Visual Studio 2012 express edition for web-parts and app parts?

    I am new to sharepoint 2013. I want to develop the app and web parts using visual studio 2012 express edition. Can I use vs 2012 express edtion to create app and web parts for sharepoint 2013?

    Unfortunately no, check this post:
    http://sharepoint.stackexchange.com/questions/52338/sharepoint2013-development-with-vs2012-express
    To build SharePoint 2013 webparts/apps you will need the 'Microsoft Office Developer Tools for Visual Studio 2012', which do not come as part of Visual Studio.  The tools require Visual Studio 2012 Ultimate, Premium, or Professional.
    The tools and prerequisites can be found here:
    http://msdn.microsoft.com/en-us/office/apps/fp123627.aspx
    Brandon Atkinson
    Blog: http://brandonatkinson.blogspot.com

  • I have VMware Fusion installed on my computer along with windows 7. I'm able to use Visual Studios 2012

    I have VMware Fusion installed on my computer along with windows 7. I’m able to use Visual Studios 2012 & 2013; however, when I try to install SQL Server is says I don’t have a valid installation folder.  So I guess my question is, can you install SQL Server to a MAC?
    Thanks!

    Make sure you have the right version...
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications

  • App.Xaml cannot be edited in design view(Visual Studio 2012 for Window Store).

     App.Xaml cannot be edited in design view(Visual Studio 2012 for Window Store).

    The
    Simple Application Walkthrough specifically instructs one to edit App.xaml (because it previously had you inject a defect by changing the name of the file StartupUri property points to). So that is the scenario, or one of them. I assume it is 'valid'
    to rename MainWindow.xaml to whatever you want it to be.
    So there should be some way in the IDE to fix this (short of changing the file name back to match StartupUri). What is it? 
    Like another person here, I just edited it with a text editor and reloaded it into VS. But...

  • Creating app scoped external content type using Provider Hosted App in sharepoint 2013 using visual studio 2012

    Hi,
    I am creating provider hosted app in visual studio 2012 using app scoped external content type having OData with Northwind url
    App manifest start page url  :
    ODataNewAppWeb/Pages/Default.aspx
    In XML it is:
    <StartPage>~remoteAppUrl/Pages/Default.aspx</StartPage>
    When i am deploying app pressing F5 the app gets deployed successfully....
    Now i am changing my start page url in Appmanifest like this:
    ODataNewApp/Lists/Employees
    In XML it looks like:
    StartPage>~appWebUrl/Lists/Employees</StartPage>
    When i am deploying app pressing F5 the app..
    Getting register SOD error.....
    I have followed all the steps like:
    1)Creating app domain
    2)Starting all the required services
    3)Creating root site collection
    But still no success.. Please help me on this.... I am struggling with this from two weeks...

    Have you set up a wildcard DNS entry for the spapps.com domain?
    Also if you're trying to connect from the server you might be hitting loop back check issues.

  • How to import the Issues list from an Excel File in Project Server 2013

    Hi,
    I'm using Project Server 2013.
    A Project Manager has been playing with the Issues List, deleting some fields, creating new columns and modifying some columns name. The result of this is that I'm getting this error everytime the task
    Reporting (Project Sync) is executed:
    General
    Reporting Wss list sync failed:
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='4feafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='5deafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='69eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='75eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='81eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='8deafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    Reporting message processor failed:
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='5beafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='67eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='73eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='7feafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='8beafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='97eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    Queue:
    GeneralQueueJobFailed (26000) - ReportingWSSSync.WSSSyncMessageEx. Details: id='26000' name='GeneralQueueJobFailed' uid='98eafda7-f147-e411-940d-005056957f05' JobUID='9e937da7-f147-e411-940e-005056957f0d' ComputerName='b579360a-53ab-4fe0-bf9b-c62f5e8d3529'
    GroupType='ReportingWSSSync' MessageType='WSSSyncMessageEx' MessageId='1' Stage='' CorrelationUID='0945bd9c-0d6a-a0f1-47b0-68cdfcfbff9a'. For more details, check the ULS logs on machine
    b579360a-53ab-4fe0-bf9b-c62f5e8d3529 for entries with JobUID
    9e937da7-f147-e411-940e-005056957f0d
    What I'm trying to do is to create a new Project from the scratch, update the Issues List, not deleting or modifying columns, just creating new columns in order to match the names he (the Project Manager) put in his Issues List, then Export the list to Excel,
    and then create a datasheet view matching the Exported list, but here I don't know how to import the list (copy / paste or whatsoever it can be done...)
    Do you know how to do it, or do you know another/any method to solve this problem?
    Thank you in advance,
    José Espases

    Hi José,
    2 considerations: 
    The first one is that (as you experienced) one should not delete or rename any of the predefined columns in the risk/issue list. What you did is the right way, meaning keeping the native column as is and creating new ones based on the business needs. Finally
    you just need to create view with the appropriate fields.
    Then for importing risks from an Excel list, I can't test it right now, but you should have a datagrid view (MS Access type) allowing you pasting data from Excel.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Visual Studio 2012 SharePoint Project Error : The partial project item type does not have a value for this property

    Hi,
    I am getting this error from visual studio 2012 whenever i try to create the following project types:
    - Workflow Custom activity
    - Web parts
    The error is as mentioned below
    "The partial project item type does not have a value for this property"
    Due to this the when I add above type of items in my project, they show a red cross icon against them.
    Please let me know If have you any solution?

    Hi
    I had same issue. Below is the solution
    Installing
    "Visual Studio 2012 Update 3" usually solves this problem. (You can download it through microsoft's official site at
    "http://www.microsoft.com/en-in/download/details.aspx?id=39305")
    Hansraj Rathva

  • How to store SQL sproc, scripts from Visual Studio 2012 in source control TFS?

    I have VS 2012, SQL Management 2012.  From VS 2012, how do I store my sproc and table scripts in TFS source control?

    Hi bthumber,
    Regarding TFS issues, I would like to recommend you post the question in the Visual Studio Team Foundation Server forums at
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vstfs
     . It is appropriate and more experts will assist you.
    Thanks,
    Lydia Zhang

  • Windows 8 HTML5/JavaScript Notification Hubs using Visual Studio 2012

    Hi,
    I'm not able to implement Microsoft Azure Notification Hubs using HTML5/JavaScript. Please help
    Thanks

    That is a Windows issue. Perhaps you should contact Microsoft about Windows issue not Visual Studio issue.
    You say it fails to work. So I would imagine it downloaded and installed then you attempt to launch it and it fails to work. Or is it the download that fails to work?
    Windows Compatibility Mode you can search for on the internet also.
    Below is an image of an executables properties. One of the tabs (the one displayed) is for Compatibility. The issue with your system is not an issue for this forum. It's possible a setting displayed below for your executable or possibly your executables
    shortcuts could be altered to correct the issue. Or not.
    La vida loca

  • How to develop android app in visual studio 2012

          
    I want to develop android app using visual studio 2012 for learning purpose.
    R@hulchalkhure

    Hi R@hulchalkhure,
    Visual C# forum is discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.  Based on your case related to android app, I am afraid it is out of our support.  Thanks for your understanding.
    If you want to about VS issue, please post
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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?

  • How to get Crystal Reports Editor in Visual Studio 2013 Preview?

    In Visual Studio 2005, if I double-click a *.RPT file in Solution Explorer, the file opens in the Crystal Reports editor.
    In Visual Studio 2013 Preview, if I double-click a *.RPT file, it opens in Notepad.  How do I get it to use the Crystal Reports editor again, please?
    Thanks and RICKgards
    Rick Raubenheimer

    Hi Rick,
    Since Visual Studio 2013 is still Preview version, I don't think you can find  something like this:
    SAP Crystal Reports, developer version for Microsoft Visual Studio - 2012
    Please notice that you will need to install additional packages for latest VS version, such as Visual Studio 2010 and Visual Studio 2012,
    For more details, please reopen a new case on this forum:
    http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]
    Or contact SAP for support since it is a third party feature to Visual Studio.
    Best regards,
    Barry Wang
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • How to add new project developed in visual studio 2012 on tfs 2010

    Hi Friends,
    our development developed new project in visual studio 2012 .
    and we need to add it on tfs 2010 version .
    we added it on existing collection on tfs 2010.
    but itn't works properly .
     i want to know is it possible to add visual studio 2012 developed projects in tfs server 2010
    mastanvali shaik

    Thanks for Adrian's help.
    Hi Balaji,
    Based on your issue, I agree with Adrian's suggestion. Therefore, I suggest you can try Adrian's suggestion to refer the link of Cybermaxs' reply check your issue.
    In addition, I suggest you can use fiddler to check the header definition.
    For more information, I suggest you can refer the Shiv_P's reply in the following link.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/9bb37eec-3467-4fcb-8537-648d04e91e2f/how-to-add-latest-chrome-browser-plugin-in-visual-studio-2010-ultimate-for-performance-testing?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for