Skip to main content

Posts

Showing posts from February, 2018

Recursively call Asynchronous function and wait for finish all before proceeding in JavaScript

In recently i have to work with problem which recursively call asynchronous methods. I tried with differed object $.when.appy ; but with large number of calls this method didn't show any constant result. Therefore i used some call back function with to archive this task. Here I'm a keeping a TrackCalls object to track async calls and their returns. If  any error occurred loop will be stopped and  notify.   var TrackCalls = { "callCount" : 0 , "receivedCount" :0 , "errorCount" :0};   function callBack() { setTimeout( function () {   if (TrackCalls.callCount == TrackCalls.receivedCount) { // all async call received } else if (TrackCalls.errorCount > 0) { // Error occurred in one of async call } else { callback(); } }, 2000); }   function AsyncCall( finised , failed) { TrackCalls.callCount++; $.ajax({url: "test.html" })

Develop and Deploy Microsoft Flow Applications

Development and deployment of Microsoft Applications has never been easy. In actual production environments you need to develop your application, test it, release to UAT and ultimately release to the live environment. Microsoft Flow’s Export and Import functions made this process convenient and easy. First you need to create your Flow in your development environment. I have few sample scenarios. Scenario one Assume that you are having support email address on Gmail and you want to create a follow up task to the supporting team which is on the Microsoft Outlook environment. Link: http://melick-rajee.blogspot.ae/2017/12/create-simple-automation-using.html Scenario two  Assume that your sales team need an approval of a customer document. In generally sales team need to scan the document and send to the relevant person via email and get the approval. Here you can use your Flow mobile application to trigger the process. Link: http://melick-rajee.blogspot.ae/

Iterate (Loop) Object (Key value pair) in JavaScript and JQuery

Let assume y is our object which has following data and you need to iterate it in native JavaScript var y = {1: "2" , name: "value" , sN: "sV" } $.each(y,function(k,v){alert(k + v)}); in jQuery you can do the same thing like below var Y = {1: "2" , name: "value" , sN: "sV" } for (var k in Y) { if (y.hasOwnProperty(k)) { alert(y[k]) ; // value alert(k) ; // key } }

Integrating Microsoft Flow Mobile Integration with Microsoft Flow Automation in Office 365 Online Services

Integrating Microsoft Flow Mobile Integration with Microsoft Flow Automation in Office 365 Online Services Microsoft Flow has its own mobile application which is very use full for integrating Business Flows. Which is available in Apple, Android and Windows stores    Today I’m explaining the possibilities that you can use Flow mobile in your automation process. Scenario: Assume that your sales team need an approval of a customer document. In generally sales team need to scan the document and send to the relevant person via email and get the approval. Here you can use your Flow mobile application to trigger the process. To start with the process as a First step I’m just using Flow Button and One Drive. Let’s Begin You can Launch the Microsoft Flow using either form directly launching the Microsoft Flow or though O365 portal. Launching Microsoft Flow Start with Bank template In this scenario now you need to add a trigg