TRIGGER TO START A PROCESS

602 views
Skip to first unread message

con...@ecotronicbr.com

unread,
Jan 13, 2015, 4:59:56 PM1/13/15
to suppor...@runmyprocess.com
Hello,

I'm trying to start a process triggering it.

In a process, depending of a condition, I want to start a process.

Can you help me?

Best regards


Tejas Laddha

unread,
Jan 13, 2015, 9:23:23 PM1/13/15
to suppor...@runmyprocess.com
Hi,

If you want to trigger a process on condition then you can use js function "RMPApplication.executeProcess( "customerId", "processId", "customerKey" )".

Select Button "action" as "execute script" and put this below code as per your requirement

if(condition==true)
{
RMPApplication.executeProcess( "customerId", "processId", "customerKey" );
true;
}

Hope this information helpful to you.

Please feel free to ask your doubts.

Best Regards,
Tejas











--
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/348d2f19-8d90-412f-9534-150dbb9b9e69%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

Tejas Laddha

unread,
Jan 13, 2015, 9:45:13 PM1/13/15
to suppor...@runmyprocess.com
Hi,

You can use pre-launch script as well.

Select button "action" as "Start Process" and check the pre-launch script checkbox

if(condition==true)
{
true;
}


Please let us know if you have any doubts.

Regards,
Tejas

ADMINISTRADOR ECOTRONIC

unread,
Jan 13, 2015, 9:47:01 PM1/13/15
to suppor...@runmyprocess.com
Yes, 


So helpful. But I want to trigger after a gateway, like a connector or another way or tool, because I need the father process continue the flow.

I need to start a parallel process (like a sub process), but that was independent of the "father" process. 

Look at the screen shot, I need to replace the sub process "START DESPESA POS" and "START DESPESA PRE" by a took that starts a parallel and independent process (the same that I used like a sub process). 

Can you help me more?

Best regards


Imagem inline 1  

You received this message because you are subscribed to a topic in the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/_cGluuVf6u8/unsubscribe.
To unsubscribe from this group and all its topics, 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/.

ADMINISTRADOR ECOTRONIC

unread,
Jan 13, 2015, 9:56:15 PM1/13/15
to suppor...@runmyprocess.com
Adding information, 


I need to send some values of variables to the process that I want to start. 

Best regards


Leo

Tejas Laddha

unread,
Jan 14, 2015, 2:16:10 AM1/14/15
to suppor...@runmyprocess.com
Hi,

You can create connector to call your child process.
Please follow the below steps - 
1. Create new connector.
2. Go to you Child Process => Launch Test => Connector Details => copy the content.(XML).
3. Go to connector => paste the content in XML "Content type".
4. Add {"input":"${input_data}"} (input_data is your JSON object) as shown in the screen shot

Inline image 1

5. Plug this connector into your process.

Please feel free to ask your doubts.

Best Regards,
Tejas

ADMINISTRADOR ECOTRONIC

unread,
Jan 15, 2015, 8:51:52 PM1/15/15
to suppor...@runmyprocess.com
Have any tutorial to do this?

Best regards.

ADMINISTRADOR ECOTRONIC

unread,
Jan 15, 2015, 9:21:53 PM1/15/15
to suppor...@runmyprocess.com
Can you give a step by step to do this?

What are the informations to include in the new connector? 

Connector url?

Where I can paste the content type in new connector?

What is the method?

I didn't understood how can I create a new connector whithout these informations. 


Please help me.





Bidisha Das

unread,
Jan 15, 2015, 10:45:35 PM1/15/15
to suppor...@runmyprocess.com
Hi,
You need to first Open Correcponding Connector of your child process.You will find the option above the process near Launch Test.After that,you will be lead to a page where you can Launch Test.Click on that, then you will go to a page which contains two tabs: Parameter and Connector Details as shown in the screenshot above by Tejas.You need to go to Connector details where you can find both the Connector url as well as xml Content.You need to then use the xml Content in the "Content" part and the Connector url in the "Connector url" part of your own Connector.

Hope you are clear now.


Thanks & Regards
Bidisha

Tejas Laddha

unread,
Jan 16, 2015, 3:25:50 AM1/16/15
to suppor...@runmyprocess.com

Hi,

 

Adding more details - 


Please follow below links which will help you to create new connectors -

 

Documentation for Provider - http://docs.runmyprocess.com/User_Guide/Development_Environment/Toolbox/My_Connectors/Providers

 

In your case URL would be - live.runmyprocess.com/

Please find below snapshot for the same

 

 Inline image 1

 

 

Documentation for Connector - http://docs.runmyprocess.com/User_Guide/Development_Environment/Toolbox/My_Connectors/Connectors

 

In Your case-

Replace 1. P_customer with your customer id that you will get it from ACCOUNT=> CONFIGURATION

             2. PROCESS_ID with your sub process id

             

Refer the below screenshot for the same

 

 Inline image 2


3. To get the content follow the same steps as mention in earlier mail.

 

Hope this information helpful to you.

 

Please let us know if you have any doubts.

 

Thanks & Regards,

Tejas N Laddha


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

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 10:59:41 AM8/29/15
to suppor...@runmyprocess.com
Hello, 

I need more info about this 

I did what you said but not work well. 

Can you help me ?


You received this message because you are subscribed to a topic in the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/_cGluuVf6u8/unsubscribe.
To unsubscribe from this group and all its topics, 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/.

Bidisha Das

unread,
Aug 29, 2015, 11:52:35 AM8/29/15
to suppor...@runmyprocess.com
Hi,
I am not sure what exactly you did as its been a long time.Please let me know what additional information you require since we have provided you with almost entire information above in context to your requirement.


Thanks & Regards
Bidisha

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 12:09:23 PM8/29/15
to suppor...@runmyprocess.com
Hello Bidisha, 

See below:

Hi,

You can create connector to call your child process.
Please follow the below steps - 
1. Create new connector.
2. Go to you Child Process => Launch Test => Connector Details => copy the content.(XML).
3. Go to connector => paste the content in XML "Content type".
4. Add {"input":"${input_data}"} (input_data is your JSON object) as shown in the screen shot

Inline image 1

5. Plug this connector into your process.

Please feel free to ask your doubts.

Best Regards,
Tejas

Hi,
You need to first Open Correcponding Connector of your child process.You will find the option above the process near Launch Test.After that,you will be lead to a page where you can Launch Test.Click on that, then you will go to a page which contains two tabs: Parameter and Connector Details as shown in the screenshot above by Tejas.You need to go to Connector details where you can find both theConnector url as well as xml Content.You need to then use the xml Content in the "Content" part and the Connector url in the "Connector url" part of your own Connector.

Hope you are clear now.


Thanks & Regards
Bidisha

Hi,

 

Adding more details - 


Please follow below links which will help you to create new connectors -

 

Documentation for Provider - http://docs.runmyprocess.com/User_Guide/Development_Environment/Toolbox/My_Connectors/Providers

 

In your case URL would be - live.runmyprocess.com/

Please find below snapshot for the same

 

 Inline image 1

 

 

Documentation for Connector - http://docs.runmyprocess.com/User_Guide/Development_Environment/Toolbox/My_Connectors/Connectors

 

In Your case-

Replace 1. P_customer with your customer id that you will get it from ACCOUNT=> CONFIGURATION

             2. PROCESS_ID with your sub process id

             

Refer the below screenshot for the same

 

 Inline image 2


3. To get the content follow the same steps as mention in earlier mail.

 

Hope this information helpful to you.

 

Please let us know if you have any doubts.

 

Thanks & Regards,

Tejas N Laddha



I did everything that you said to do, but appears this error:


2015-08-29T15:58:51+0000 - Task "DESPESA PRÉ" (id: 26[0] - status: ACTIVE): Bad Request (400) - The request could not be understood by the server due to malformed syntax (1 attempt)



--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.

To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/_cGluuVf6u8/unsubscribe.
To unsubscribe from this group and all its topics, 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/.

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 12:10:35 PM8/29/15
to suppor...@runmyprocess.com
The only thing that I didn't do is put the json syntax to the content. 

Have any trouble?

Bidisha Das

unread,
Aug 29, 2015, 1:00:41 PM8/29/15
to suppor...@runmyprocess.com
Hi,
Bad Request means you are passing some wrong parameters in the Connector.Not putting any json object won't cause any error.It is optional and used only if you want to pass any input data to the process via the connector.

Make sure that you have created the provider & connector properly as described above.You just need to open the Corresponding Connector of the process, copy the entire configuration & contents and create a Provider(Authentication scheme:Login/Password) & Connector using that.

After you create it, try to indvidually launch the Connector alone,pass the respective values for P_mode & P_version(keep it blank if in test mode) and check if its working fine.After that, plug in the Connector to a process and check if its working well.

If still facing issue,kindly send screenshots of your Provider & Connector configuration. 


Thanks & Regards
Bidisha 

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 1:43:50 PM8/29/15
to suppor...@runmyprocess.com
I'm still facing an issue:

Screenshots below:

Imagem inline 1
Imagem inline 2
Imagem inline 3
Imagem inline 4
Imagem inline 5
Imagem inline 6


Best regards!





--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/_cGluuVf6u8/unsubscribe.
To unsubscribe from this group and all its topics, 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/.

Bidisha Das

unread,
Aug 29, 2015, 2:31:51 PM8/29/15
to suppor...@runmyprocess.com
Hi,
Everything seems to be perfectly fine.

Can you please launch the Connector separately and test it and check if you get the same error? This would help me to know if the problem is with Connector or else the Process in which you plugged in the connector.

I want a detailed view of the process activities where you are using the Connector like the Gateway conditon or else any code you are using inside and a description of what exactly the connector is doing in Process.


Thanks & Regards
Bidisha

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 2:48:00 PM8/29/15
to suppor...@runmyprocess.com
Hello Bidisha, 

I'm sending the pdf of my process attached.

below the screens:

Imagem inline 1
Imagem inline 2
Imagem inline 3
Imagem inline 4
Imagem inline 5
Imagem inline 6

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/_cGluuVf6u8/unsubscribe.
To unsubscribe from this group and all its topics, 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/.
143079_media=pdf&method=GET&P_rand=98829.pdf

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 3:02:17 PM8/29/15
to suppor...@runmyprocess.com
Hi Bidisha, 

If I change de Autentication Method all chances, like below:

Imagem inline 1

Imagem inline 2

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 3:04:20 PM8/29/15
to suppor...@runmyprocess.com
I changed  login/password  to Google 2OAuth

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 3:33:50 PM8/29/15
to suppor...@runmyprocess.com
More info. 

When I launch test this is the result:

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=8" />

<link rel="shortcut icon" type="image/ico"

<link type="text/css" href="/style/portal.css" rel="stylesheet">
<link type="text/css" href="/style/portal_mediastyles.css"
rel="stylesheet">
<title>Error</title>
</head>
<body>
<div id="layout">
<div id="header">
<div class="logoBox">
<a href="#" id="rmpLogo"> <img src="/img/portal/logo_run.png"
alt="RunMyProcess" class="logo"> <img
src="/img/portal/logo_run_40px.png" alt="RunMyProcess"
class="iconLogo">
</a>

</div>
<div class="actionBox">
class="action" title="Return to the portal" target="_self"><span
class="label">Return to the portal</span> <span
class="icon23 icon-poweroff"></span></a>
</div>
</div>

<div id="content">
<div class="expandable">
<h2>Error (405)</h2>
<p><span id="error-msg"></span>
</p>
</div>
</div>

<div id="rmpfooter">
<span id="poweredrmp">Powered by <a
href="http://www.runmyprocess.com" target="_blank">Fujitsu RunMyProcess</a>
- &copy; 2015
</span>
</div>
    </div>
</body>
</html>

Bidisha Das

unread,
Aug 29, 2015, 3:34:47 PM8/29/15
to suppor...@runmyprocess.com
Hi,
Are you by any chance using Get method in the Connector? Can you send screenshot of the Process which you are using as connector?
While testing the connector,put P_mode=TEST.

Also,please use your current RMP account Login & Password in the Authentication scheme of your provider.


Thanks & Regards
Bidisha

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 3:41:27 PM8/29/15
to suppor...@runmyprocess.com
Are you by any chance using Get method in the Connector? 

No I'm using POST

Imagem inline 1



Can you send screenshot of the Process which you are using as connector?

Imagem inline 2



While testing the connector,put P_mode=TEST.

I did this!


Also,please use your current RMP account Login & Password in the Authentication scheme of your provider.

I did this!

Best regards


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/_cGluuVf6u8/unsubscribe.
To unsubscribe from this group and all its topics, 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/.

ADMINISTRADOR ECOTRONIC

unread,
Aug 29, 2015, 3:51:26 PM8/29/15
to suppor...@runmyprocess.com
More info

When I use Google 2Oauth this is the result of the launch test

Imagem inline 1
Imagem inline 2

When I use login/password

Imagem inline 3

Imagem inline 4

Pankaj Kumar

unread,
Aug 29, 2015, 4:56:01 PM8/29/15
to Fujitsu RunMyProcess Developer Community, ADMINISTRADOR ECOTRONIC
Hi,

Your connector seems fine to us, BTW can you check you are using the configuration of the process connector by clicking on the connector icon on the process screen.

Inline image 1



Please verify your connector configuration against "corresponding process connector", and trigger the "corresponding process connector" by clicking on "Launch Test" and share the result with us.


Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" 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/.

Pankaj Kumar

unread,
Aug 30, 2015, 10:43:45 PM8/30/15
to Fujitsu RunMyProcess Developer Community, ADMINISTRADOR ECOTRONIC
Hi,

Is it possible to have a screen sharing session today so that we can see the configuration and suggest you accordingly.

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

On Mon, Aug 31, 2015 at 6:54 AM, ADMINISTRADOR ECOTRONIC <con...@ecotronicbr.com> wrote:
Please, 

I need to finish this project!

Help me 

2015-08-30 14:47 GMT-03:00 ADMINISTRADOR ECOTRONIC <con...@ecotronicbr.com>:
Imagem inline 1

Imagem inline 2

2015-08-30 14:45 GMT-03:00 ADMINISTRADOR ECOTRONIC <con...@ecotronicbr.com>:
Below:

<?xml version="1.0" encoding="UTF-8"?>
  <title>ROBOT - DESPESA PRÉ</title>
  <link rel="self" type="application/atom+xml" href="live/11761373668587417/request/cb9ed960-4f3e-11e5-83b5-22000b8b31dc?P_mode=TEST" />
  <link rel="todo" href="live/11761373668587417/todo?filter=REQUEST&amp;operator=EE&amp;value=cb9ed960-4f3e-11e5-83b5-22000b8b31dc" />
  <link rel="owner" href="config/11761373668587417/user/108462" />
  <link rel="document" href="live/11761373668587417/document/cb9ed960-4f3e-11e5-83b5-22000b8b31dc?P_mode=TEST" />
  <link rel="manager" href="live/11761373668587417/requestmanager/cb9ed960-4f3e-11e5-83b5-22000b8b31dc" />
  <link rel="resume" href="live/11761373668587417/resume/cb9ed960-4f3e-11e5-83b5-22000b8b31dc/task/{taskid}/{iteration}" />
  <link rel="design" href="config/11761373668587417/process/144615/history/id/867514" title="ROBOT - DESPESA PRÉ" />
  <link rel="last_design" href="config/11761373668587417/process/144615" title="ROBOT - DESPESA PRÉ" />
  <category term="status" label="0" />
  <category term="history_id" label="867514" />
  <category term="mode" label="TEST" />
  <category term="volatility" label="PERSISTENT" />
  <id>cb9ed960-4f3e-11e5-83b5-22000b8b31dc</id>
  <generator>(c) RunMyProcess 2015</generator>
  <rights>[]</rights>
  <updated>2015-08-30T17:44:42Z</updated>
  <entry>
    <title>Execution path</title>
    <category term="path" />
    <id>cb9ed960-4f3e-11e5-83b5-22000b8b31dc</id>
    <rights>[]</rights>
    <updated>2015-08-30T17:44:42Z</updated>
    <published>2015-08-30T17:44:42Z</published>
    <summary type="text/base64" />
  </entry>
</feed>

---------------------------------------

Imagem inline 1

ADMINISTRADOR ECOTRONIC

unread,
Aug 31, 2015, 1:58:31 PM8/31/15
to suppor...@runmyprocess.com
Hello, 

I has success in my connector now... The auth mothod have to be RMP Secured Connection.

Now I have to transfer variable values to the other variables of my son process. 

Can you help me?

Best regards


Murali

unread,
Sep 2, 2015, 1:58:43 AM9/2/15
to Fujitsu RunMyProcess Developer Community, con...@ecotronicbr.com
Hi,

Please select "Send variables" option in parent process step to achieve it.

Additional ref : http://docs.runmyprocess.com/Developer_Guide/Process/Design/SubProcess

Please post a new one if you have additional questions.

Regards,
Murali

Murali

unread,
Sep 2, 2015, 2:38:00 AM9/2/15
to Fujitsu RunMyProcess Developer Community, con...@ecotronicbr.com

Including customer response.

--------------

From: ADMINISTRADOR ECOTRONIC [mailto:con...@ecotronicbr.com]
Sent: Wednesday, September 02, 2015 11:43 AM
To: Murali
Subject: Re: [supportforum:6145] TRIGGER TO START A PROCESS

 

Hello Murali, 

 

Works!

 

Best regards

leon...@ecotronicbr.com

unread,
Jul 29, 2016, 3:27:16 PM7/29/16
to Fujitsu RunMyProcess Developer Community, con...@ecotronicbr.com
Hello

The connector that was working, now is having error with the message:

2016-07-29T18:36:03+0000 - Task "DESPESA PÓS" (id: 9[0] - status: ACTIVE): Internal Connector Error (1002) - The connector encountered an unexpected condition which prevented it from fulfilling the request (3 attempts)

The connector that the task is start a new process, now is starting 03 (three) new process and tease the error that I wrote.

Please, help me!


Beste regards.


Leo

Murali

unread,
Jul 29, 2016, 11:43:28 PM7/29/16
to Fujitsu RunMyProcess Developer Community, con...@ecotronicbr.com, leon...@ecotronicbr.com
Hi Leo,

Please provide additional details of the connector and method of test that you were trying & make a simple test with new Process to debug for any issue related to parameters that were used.

Also refer to below resolved posts, that discussed about similar error.

https://groups.google.com/a/runmyprocess.com/forum/#!msg/supportforum/oml83HG8MH4/7Q8nsB99GgAJ
https://groups.google.com/a/runmyprocess.com/forum/#!msg/supportforum/Ej4-G9GLFQk/ZGAO5ciIfl4J

Also confirm/let us know, if there are any recent updates to user-id that you were trying to test.

Regards,
Murali
Fujitsu RunMyProcess Support

Reply all
Reply to author
Forward
0 new messages