Api listener process

163 views
Skip to first unread message

ciche...@fater.it

unread,
Jun 27, 2014, 7:13:23 AM6/27/14
to suppor...@runmyprocess.com
Hello,
I have a process launch as "API Listener" at event "Listened variable changed".

The problem is that the process starts and completes regularly (I can see the process report) but it seems like the Web Interface does not notice the process completion, thus the script for "complete" event is not executed.

The application worked well till few weeks ago and no change applied.

How is it possible to make a troubleshooting ?


Thank you,
Luigi

Hamza Maghous

unread,
Jun 27, 2014, 8:22:33 AM6/27/14
to suppor...@runmyprocess.com
Hello,

The "API Listeners" works well.
If you're sure that your API gets launched and your script for "complete"  doesn't get executed, There must be  something wrong with script for "complete" .
Make sure you have a script for failure to test ( like alert("ko"); )






--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/0fec84bf-74eb-4f85-b90d-7020fea7ed9c%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--

Hamza MAGHOUS

PreSales Consultant

ciche...@fater.it

unread,
Jun 27, 2014, 9:21:25 AM6/27/14
to suppor...@runmyprocess.com, ciche...@fater.it


Hello,
the first instruction of the script is "id_spinner.setVisible(false)"
but it is not executed.
If I wait for the process to complete and I run manually the instruction in the
test console / JS tester, the spinner shuts.

The process in background takes more then 30 minutes.
Could it be the problem ?
Is there a timeout in the web interface to wait for ?

Thank you.

Hamza Maghous

unread,
Jun 27, 2014, 9:41:21 AM6/27/14
to suppor...@runmyprocess.com, Luigi Cichella
Is it  30 minutes, or 30 seconds ?
If it's 30 minutes, your web interface then has to stay open for 30 minutes, and your spinner visible for 30 minutes waiting for the process to finish and then execute then script for "complete"!! and this is not the right way to use process listeners.
 


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.

ciche...@fater.it

unread,
Jun 27, 2014, 9:54:47 AM6/27/14
to suppor...@runmyprocess.com, ciche...@fater.it
On Friday, June 27, 2014 1:13:23 PM UTC+2, ciche...@fater.it wrote:

Hi,
it is 30 MINUTES.
It is a process/application that gets all delegations to allow a user to see the status and cancel/inactivate a delegation.
The problem is that:
- the only connector available gets the delegation for a single user
thus must be called for each user
- the connector response takes quite a long time
- the overall time increases as long as new users are created

Is there a better solution ?
Are there available other connectors ?

Thank you.

Hamza Maghous

unread,
Jun 27, 2014, 10:07:05 AM6/27/14
to suppor...@runmyprocess.com, Luigi Cichella
You can for example configure your process to store the information you get from the connector on a file, and then send it via mail to the concerned person at the end of the process.




--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.

ciche...@fater.it

unread,
Jun 27, 2014, 10:24:01 AM6/27/14
to suppor...@runmyprocess.com, ciche...@fater.it
On Friday, June 27, 2014 1:13:23 PM UTC+2, ciche...@fater.it wrote:


Unfortunately the process is not only to report information but to realize an application the user can interact with.

The user MUST have a tool to set/inactivate/delete delegations:
how can we do otherwise ?


Hamza Maghous

unread,
Jun 27, 2014, 10:38:16 AM6/27/14
to suppor...@runmyprocess.com, Luigi Cichella
I need you to send me the following information so I can check your project :

-Login
-Project name
- Interface, and process names

by delegation, do you mean manual tasks delegation in runmyprocess, or something else ?


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.

ciche...@fater.it

unread,
Jul 1, 2014, 5:13:33 AM7/1/14
to suppor...@runmyprocess.com, ciche...@fater.it
On Friday, June 27, 2014 4:38:16 PM UTC+2, Hamza Maghous wrote:
> I need you to send me the following information so I can check your project :
>
>
> -Login
> -Project name
> - Interface, and process names
>
>
> by delegation, do you mean manual tasks delegation in runmyprocess, or something else ?
>
>
>
>
> On Fri, Jun 27, 2014 at 4:24 PM, <ciche...@fater.it> wrote:
>
>
> On Friday, June 27, 2014 1:13:23 PM UTC+2, ciche...@fater.it wrote:
>
>
> > Hello,
>
> > I have a process launch as "API Listener" at event "Listened variable changed".
>
> >
>
> > The problem is that the process starts and completes regularly (I can see the process report) but it seems like the Web Interface does not notice the process completion, thus the script for "complete" event is not executed.
>
>
> >
>
> > The application worked well till few weeks ago and no change applied.
>
> >
>
> > How is it possible to make a troubleshooting ?
>
> >
>
> >
>
> > Thank you,
>
> > Luigi
>
> Unfortunately the process is not only to report information but to realize an application the user can interact with.
>
>
> The user MUST have a tool to set/inactivate/delete delegations:
>
> how can we do otherwise ?
>
> Fujitsu - RunMyProcess

> You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
>
> To post to this group, send email to suppor...@runmyprocess.com.
>
> Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
>
> To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/f8f5d0a8-a384-4a9a-b7f1-fa02621e4dfc%40runmyprocess.com.
>
> For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
>
> Hamza MAGHOUS
>
> PreSales Consultant
> Website: Fujitsu RunMyProcess

Hi,
as delegation I mean a tool deployed by RMP and downloaded at the time in our domain. It uses specific web services that allow to retrieve and set user delegation for manual tasks.
Based on that, I deployed a process with API listener that lists delegations and allow user to set or inactivate their delegation with aome managers users that can see the delegations for all.

I have just made a test and found that if the retrieving is just for a user, the web interface is able to catch the completion of the list process in API listener, so I think the problem at the moment is that the process takes too mach (30 min) to scan all the users retrieving any delegation by calling the specific connector for each one.

Is there a connector that gives all delegations once ?

Thank you.

Hamza Maghous

unread,
Jul 1, 2014, 8:17:35 AM7/1/14
to suppor...@runmyprocess.com, Luigi Cichella
Hi,

There is no  connector to get all delegations.
The webinterface stops listening to the process one minute after it's launched, so you can't rely on the completed script in this case


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.



--
Reply all
Reply to author
Forward
0 new messages