Is there an example to show case a HTML5/Angularjs based external task form to get task data and complete task?
We want to have custom task list , does camunda provide task list JavaScript library ?
Regards,
Phani
The tasklist uses the Camunda JS SDK to manage the tasks including the retrieval of task data and the completion of task forms. You can have a look at this example for standalone usage of the JS SDK and this example for additional Angular integration.
Another thing: If you do not want to implement a tasklist yourself, the Camunda tasklist provides several customization points you can use, which include custom styles and localization as well as custom scripts and plugins (beginning with version 7.3).
Related
I have External Application where all the contacts are stored, where all the CRUD operation will happen in External Application, we have to replicate same in RightNow frequently, we have exposed the Web Service in External Application, I am new to Web service regarding RightNow perspective, so I am not aware where to write code to Pull all the Contact from external webserver in RightNow. it would be great help if any one provide document or reference for this.
If I understand your question correctly, this can be easily done in RightNow in two ways-
Manually: If this is one time work and u can do it manually then use the RightNow Import Wizard. Get all your contacts exported in the specific CSV format and then use the wizard to upload all records in one go.
Automation: If this "On The Go" functionality then you can use the RightNow SOAP/REST services to create the contact whenever it is getting created/updated in the third party System. For this you can write the scripts to trigger on the events of your third party system. Below is the document link. http://docs.oracle.com/cloud/latest/servicecs_gs/CXSVC/api-contacts.html
Hope that helps!!
Thanks,
Abhishek
We have our own custom build web portal (built on AngualrJS,etc). We would like to have the functionality similar to Camunda's Tasklist UI. What is the recommended approach to replicate the functionality? Is it possible to embed Just tasklist UI and refer the forms using embedded: forms in process?
Regards,
Phani
In my application, I have created my own task list. I embed GSP (Groovy Server Pages) forms in my process JARs.
My application fetches these pages via the "Get Single Deployment Resource" REST API:
/deployment/{id}/resources/{resourceId}
Then the application renders the page.
Something similar could be done to serve up AngularJS pages.
First a question.
Are you referring to the task forms that ar automatically generated by the Camunda Task list based on Form Properties (called Generated Task Forms)?
If so, there is no way to easily embed just the form as the rendering is handled by the tasklist framework.
However, Camunda have a very nice Forms SDK that can be used to created Embedded Forms. Look for the heading "Integrating the Forms SDK" in the above link and you will see how to add the Camunda Forms SDK to your own HTML5 application.
This is something we cover in our standard training class.
Hope this helps.
Greg - BP3
I have created normal java service tasks with activiti BPMN. But how to do $subject? Do we have to do a java implementation and create a wsdl from it and proceed? In such a case, does activiti support wsdls? It would be great if a sample/ article could be given on this.
Thanks.
You can use a Java Service Task and Apache CXF to build proxy-classes from your wsdl-file. Another approach is to use the webservice task, which is still experimental. For more information, take a look at this blogpost: http://www.bpm-guide.de/2010/12/09/how-to-call-a-webservice-from-bpmn/
Both approaches are also described in the Book "Activiti in Action".
The purpose is to create a stateful web applications with controlled navigation.
There is a clear start and an end point.
The user must go through a set of screens in a specific order.
Once complete it shouldn't be possible to repeat a transaction accidentally.
Check the workflow section on django awesome packages list
django-flows looks like most close substitution for spring web flow.
But build-in django wizard forms a fairly lightweight and suitable for many basic cases.
didn't test that particular lib but it seems well suited for what you need:
http://code.google.com/p/django-stateful/
The idea is to call a method from a website(in php) to my application (in Grails). The application will serve data in json format.
The website and the application are hosted in two different servers. The website is on Yahoo and the application is on Rackspace.
Now, I want to create a web service in my Grails application which serves list of cities in json format.
City Class
class City {
String name
String code
}
How do i write the web service method?
Try the grails jaxrs plugin (https://github.com/krasserm/grails-jaxrs) which will do excactly what you want without any hassle.
Simply install it, create a Resource object with the introduced create-resource command and create and annotate the methods as you wish. all other things are managed by the plugin so you don't have to worry about Controller or UrlMapping...
You need only the annotation #Resource(uri='/cities') on your domain and call the url/cities.json (but, its'n RESTful)
You will want to use a few tools, first you will create a controller that deals with the requests and pushes them off to your service layer.
You can use URL Mappings to make it more RESTFul check out the doc that way all the http methods will be mapped to actions in your controller.
Also if you will be doing a fair bit of json I would recomend starting with the gson plugin it has a fuller feature set then the built in JSON support.
The link from the comment above is a great resource to read as well.
I have found that I most of the time want to support the accept header as well in which case you will need to update your config with the following code. See withFormat doc for more info.
grails.mime.use.accept.header = true