Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a module record from a workflow via webservice
#2
Webservice is a layer of calls that permit you to interact with the application from outside. For example, you can access information from a spreadsheet or create a record from a webform.
It makes it really easy to manipulate the system without getting into the internals while creating a nice high level abstraction layer.

You can read about this in our book on the subject and I would recommend you download and use the coreBOS Webservice Developer tool to get a feel of everything you can do.

https://github.com/tsolucio/coreBOSwsDevelopment

The webservice libraries make it even easier to use: https://github.com/tsolucio/coreBOSwsLibrary

Since the webservice API is at a more abstract level than the internals, it is easier to use, even from within the application, so if you want to create a record using the webservice API you would call the CREATE method:

https://github.com/tsolucio/coreBOSwsDevelopment/blob/master/testcode/020lib_createContact.php

this ends up calling the vtws_create function in the application, so, if you are programming inside the application you can directly call the vtws_create function to achieve the same goal which is a little easier than setting up and calling the save() method.

It may also be a little faster.
Joe
TSolucio
Reply


Messages In This Thread
RE: Creating a module record from a workflow via webservice - joebordes - 12-15-2015, 03:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)