Start SDK Tour-Getting Started 1 basic environment setup and testing

Source: Internet
Author: User
Tags file copy

Verified this is available.

Http://bbs.ccflow.org/showtopic-2560.aspx

Integration method has been used for some time, today just have time, try the SDK. It is also very convenient to use, the following is a simple step
1.To create a new empty project
2. Add reference using BP. WF;
Using BP. En;
3. Copy the next \datauser\emailtemplete\cc_ch.txt (you can also send the message after sending comments off, if you do not need a message to remind this is not required).
4.Configuration file copy <appSettings>, mainly database connection and other information
Specific test: TakeThe system comes with a test of the next
protected void Page_Load (object sender, EventArgs e)
{

Login
Bp. Wf. Dev2interface.port_login ("Zhoupeng");
Hashtable ht = new Hashtable ();
to the nodeform field pass-through value
Ht. ADD ("gaiyaoshuoming", "initiation process");
Get WorkID and get it when you are new
Long WorkID = BP. Wf. Dev2interface.flow_generworkid ("001");
Send, return object, a lot of information can be obtained from this object
Sendreturnobjs obj = BP. Wf. Dev2interface.node_sendwork ("001", WorkID, HT);
The information returned
String msg = obj. Tomsgofhtml ();

Obj. Vartonodeid Node Number
This. Response.Write (msg+ "node information:" +obj. Vartonodeid + "@" + obj. Vartonodename);
}

The rest is similar, all through the API processing, the SDK is also very simple

Start SDK Tour-Getting Started 1 basic environment setup and testing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.