Contenu connexe Similaire à DEVCON-Social ECM (20) Plus de Zia Consulting (20) DEVCON-Social ECM1. Content Management + Integration = Instant Collaboration John Giffin, ECM Architect, jgiffin@ziaconsulting.com 5. Challenges of social business + enterprise content Communication: challenged with locating subject matter and sharing with constituents Organizations: paralyzed by security and governance concerns Human resources: difficulty increasing worker effectiveness Effective Governance: problems managing and repurposing unstructured content 7. Traditional ECM & Integration projects are characterized this way High Cost Slow / Limited Adoption Complex 9. Use Open Source, Open Platforms Alfresco , Mule ESB , Salesforce Lower Cost Simple Faster Adoption 11. Mule Enterprise Service Bus All contents Copyright © 2011, MuleSoft Inc. 15. Mule ESB polls Salesforce for updates Salesforce Mule ESB Salesforce Web Service API Salesforce Cloud Connector 17. Mule ESB persists contract to Alfresco Alfresco Mule ESB CMIS Cloud Connector (OpenCMIS) CMIS API 20. Code Review: Alfresco Discovers New Opportunity // start a workflow var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "jbpm$ziawf:checklist"; workflow.parameters["bpm:workflowDescription"] = nodeToProcess.getName(); workflow.execute(nodeToProcess); // tell Mule ESB to send an email try { XMLHttpRequest.open("GET", "http://localhost:8081/services/notify", false, null, null); XMLHttpRequest.send(""); XMLHttpRequest.close(); } catch(ex){ var error = String(ex); logger.log("unable to send notification: " + error); } 21. Code Review: Mule ESB Web Service Inbound Endpoint and SMTP Endpoint 23. Code Review: Alfresco Workflow Complete // get the SalesForce opportunity ID from contract metadata for (var i = 0; i < bpm_package.children.length; i++) { var pkgItemType = bpm_package.children[i].getTypeShort(); if (pkgItemType == "zia:deal") { var dealContract = bpm_package.children[i]; opportunityId = dealContract.properties["zia:opportunityId"]; logger.log("contract opp id: " + opportunityId); } } // notify Mule ESB that the opportunity’s state has changed try { XMLHttpRequest.open("GET", "http://localhost:8081/services/updatesf?oppid=" + opportunityId, false, null, null); XMLHttpRequest.send(""); var response = XMLHttpRequest.getResponseText(); logger.log("response from Mule ESB: " + response); XMLHttpRequest.close(); } catch(ex) { var error = String(ex); logger.log("web service invocation failure: " + error); } 24. Code Review: Mule ESB Web Service Inbound Endpoint SalesForce Update