force.com 邏輯即服務 Apex Code and Workflow
Powerful workflow and logic, featuring the world's first on-demand programming language
Apex 標榜著全球第一個隨選程式語言(on-demand programming language)。如下圖所示,可以在頁面中加上您所需要的 Apex Code 來增加用用系統的功能,並且透過標準化的 Apex Class,讓您的 Apex Code 可以重複使用。.
You can add Apex to most system events.
Workflow 是 force.com 的內建功能,經由 Rule 的 define 讓您的 Application 具有 intelligence 以及邏輯自動化的功能,來支援組織的工作。
This feature is available in Enterprise and Unlimited Editions.
(請參考 salesforce Edition)
企業的運作不可能是單一的決策或是單一個人即可完成所有工作,但龐大的組織架構,費時的簽核流程,往往也是拖累企業營運的一大元兇;所以在競爭如此劇烈的商業環境理,如何快速的反應以及符合時勢的彈性,為今日企業經營所必須思考的問題。
BPM 觀念的提出,確實為企業的經營與快速反應帶來曙光。salesforce.com 也看到了這一點,但是他不強調他的 BPM 有多強大的功能,而是將他融入平台的作業當中,on-demand workflow,需要就用吧!
Workflow Feature Details
* Approval Process Automation: Create simple or sophisticated multistep approval processes to automate virtually any business process in your company, such as sales discount requests, opportunity close approvals, expense reports, or vacation requests.
* State Changes and Calculations: You can use workflow’s new field update capability to automatically change the value in a field—including owner and record type fields—as a result of a workflow trigger. Use the powerful Apex formula language to update field values based on results of calculations.
* Event-Driven Integration with Outbound SOAP Messages: With Winter ’07, you can send a customizable XML message to any desired Web-available listener. Eliminate the need to poll the Apex API for changes.
* Filter Enhancements: Workflow and approvals support advanced “OR” filters similar to those available in reports, special date values such as “Next 25 Days” and “Last Week,” and the ability to use standard and custom fields from the user object when creating workflow rules.
* More Workflow Rules: With the Winter ’07 release, you can create up to 300 workflow rules per object for your organization.
延伸閱讀:
2.PTODemo
3.Visual Workflow in Salesforce.com
<object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/rLM0qJHU6-s&hl=zh_TW&fs=1"></param><param name="allowFullScreen" value="true"></param><embed allowfullscreen="true" height="344" src="http://www.youtube.com/v/rLM0qJHU6-s&hl=zh_TW&fs=1" type="application/x-shockwave-flash" width="425"></embed></object>
本文在個人 iThome Blog 同步連載