Hi, anybody know if it's possible to create an entry in some folder from a workflow. It's possible to copy or move an entry as far as I can see, but I can't figure out how to create an entry.
Essentially, you need to connect a remote application to the workflow. Then have the remote application create the entry using Web Service calls.
You might also be able to do this with an extension class, but I can't be sure you are at an acceptable place in the architecture to actually do that. (I doubt that you are.)
What are you trying to do? I am interested in real life examples of what people want. Maybe I can help with writing the remote app if I can understand the end-user application.
Hi Peter, all I want is to create a task from an entry when a workflow reaches a certain state. This is always in the same taskfolder and only needs the title from the original entry (modified discussion entry to a helpdesk ticket), and if possible the original description (not the replies or anything else). Let's say there's a workflow with two states, create task (which creates the task and workflow ends) or no task (workflow ends).
Hi Peter, I've now managed to create a remote application, made in PHP5 with the standard SOAP extension and it looks like this is the way to go for me. I am running a Apache webserver on localhost with my code and I'm able to get the information from and to Teaming. Great function, but I do have a couple of questions from working with the WSDL.
When trying to use license_getRegisteredUsers or license_getRemoteUsers it always returns no number of users. Looks like this is only working for Novell Teaming? Would be nice to be able to get the number of users on a Kablink system as well.
From what I have seen there's a couple of ways to use the webservices to extend the system. An accessory is great for displaying data and maybe with the help of AJAX it's even possible to create some functions as well. But it seems that if you want to be able to do something with the data from Teaming within the remote application it's maybe easier to use an iFrame.
I have made a customization request in that folder you made here
Besides that it's great to use within a workflow and on forms to add data from other systems. So thanks again for pointing this out.
As you correctly guessed, the license_* web service operations are meaningful only for the Novell Teaming.
If your goal is to get the (approximate) number of users in the system, a workaround would be to call profile_getUsers() operation with firstRecord value being 0 and maxRecords being 1. Then, on the returned object, examine the value of "total" field, which should represent the total number of users in the system.
The following URLs are supported in Teaming, and might appear in the table above.
Permalinks
Permalinks are URLs that remain constant over time, and are used to reference individual workspaces, folders and entries. You can use them as bookmarks, or e-mail them to others. Copy and paste them as needed.
E-Mail Addresses
If the folder owner has set up an e-mail address for this folder, then you can add entries directly into the folder via e-mail.
WebDAV URL
Use the WebDAV URL to access a folder directly as a file directory. Applications such as Windows Explorer and Microsoft Office can use a WebDAV URL to directly access the files stored in a Teaming folder.
iCal URL
You can use this URL to synchronize Teaming task and calendar folders to your desktop calendar application.
RSS URL
Folders can also be accessed using an RSS or ATOM Feed Reader or directly from the file system. Copy the RSS URL below and paste it into your RSS reader to access this folder as an RSS feed.
Caution: This RSS URL has been created for your use only. It uses your access rights. Sending this URL to other people may give them access to entries in this folder that they may not otherwise be able to view.
This is possible, but a lot harder.
Essentially, you need to connect a remote application to the workflow. Then have the remote application create the entry using Web Service calls.
You might also be able to do this with an extension class, but I can't be sure you are at an acceptable place in the architecture to actually do that. (I doubt that you are.)
Peter