Print  
Gray star Gray star Gray star Gray star Gray star --Not rated--
327 Visits 6 Comments
Created
Marcel Dekker Marcel Dekker
Kablink Component
  • Teaming

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.

Workflow
Process State Action
Discussion workflow Active
This entry is currently active
Attachments(0)
Entry History
Tags
 
Replies
Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

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

 

Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

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.

Thumbnail Image
Marcel Dekker Marcel Dekker
Modified by
Marcel Dekker Marcel Dekker
Jan 25, 2010 6:56 PM

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).

Thumbnail Image
Marcel Dekker Marcel Dekker

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.

 

Thumbnail Image
Jong Kim Jong Kim

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.

Thumbnail Image
Marcel Dekker Marcel Dekker

Hi Jong, that worked. It's including the systemusers (E-mail, Synchronization, Admin, Guest), but that's OK.

Skip Footer Toolbar