We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Workflows not working

This is my view 
                                   .DataSource(ds => ds.URL(Url.Action("GetData")).Adaptor(AdaptorType.UrlAdaptor))
                                   .ClientSideEvents(eve =>
                                   .Workflows(workflow =>
                                   .Columns(col =>
                                       col.HeaderText("Join Request").Key("RequestToJoin").AllowDrop(false).Add();
                                       col.HeaderText("Join Accepted").Key("RequestJoinAccepted").Add();
                                       col.HeaderText("Join Verify Content").Key("RequestToVerifyContent").Add();
                                       col.HeaderText("Trial Started").Key("TrialStarted").Add();
                                       col.HeaderText("Trial End").Key("TrialEnd").Add();
                                  .Fields(field =>


//This is my Action 
 public async Task<JsonResult> GetData(Syncfusion.JavaScript.DataManager value)
            DataResult result = new DataResult();
            DataOperations operation = new DataOperations();
            var subscriptions = db.Subscriptions.IncludeMultiple(a => a.Organization);

            if (subscriptions == null)
                return Json(result, JsonRequestBehavior.AllowGet);
            var list = await subscriptions
                .OrderByDescending(order => order.CreatedDate)

            var model = new List<KanbanSubscriptionViewModel>();

            foreach (var order in list)

            result.result = model;
            result.count = model.Count();
            return Json(result, JsonRequestBehavior.AllowGet);

1 Reply

AP Arun Palaniyandi Syncfusion Team September 21, 2017 09:55 AM UTC

Hi Musab Adnan Basheer, 

Thanks for contacting Syncfusion support. 

We have validated the shared sample and we can able to reproduce you reported scenario. Hence in order to work with the URL or remote Adptors, at the time of drag and drop the cards we have to add CrudURL for updating the changes in database. So we suggest you to write a function in the controller to do the basic CRUD operations for our Kanban and refer it to CrudURL.  


               .DataSource(ds => ds.URL("GetData").CrudURL("Crud").Adaptor(AdaptorType.UrlAdaptor)) 
                   .Columns(col => 


//Edit multiple cards for priority drag and drop 
        public ActionResult Crud(List<Task> changed, List<Task> added, List<Task> deleted) 
            //Performing insert operation 
            if (added != null && added.Count() > 0) 
                foreach (var temp in added) 
            ////Performing update operation 
            if (changed != null && changed.Count() > 0) 
                foreach (var temp in changed) 
                    Task old = db.Tasks.Where(o => o.Id == temp.Id).SingleOrDefault(); 
                    if (old != null) 
            //Performing delete operation 
            if (deleted != null && deleted.Count() > 0) 
                foreach (var temp in deleted) 
                    db.Tasks.Remove(db.Tasks.Where(o => o.Id == temp.Id).SingleOrDefault()); 
            var data = db.Tasks.ToList(); 
            return Json(data, JsonRequestBehavior.AllowGet); 

We have also prepared a simple sample for your reference below. 

Further references, check on this: 

If the provided details does not meet your requirement, please give us with more information that will help us to provide an alternative solution.    
Arun P.   

Live Chat Icon For mobile
Up arrow icon