| View previous topic :: View next topic |
| Author |
Message |
Rennur
Joined: 01 Mar 2012 Posts: 191 Location: Sydney, Australia
|
Posted: Fri Jun 01, 2012 3:12 am Post subject: Process within a process problem |
|
|
Hi,
I'm fairly new to AwareIM but this problem is bugging me since I started using it.
I have 2 BOs & 2 Processes:
BO Truck (Peer 'multiple docekts')
BO Delivery Docket (Peer 'single Truck')
Process NewTruck (ENTER NEW)
Process NewDocket (ENTER NEW)
When I start the 'NewDocket' process, the form pops up & within the form there is a dropdown 'Truck' attribute + 'Add New' button next to it.
Using the default implementation 'Add New' Truck works fine, but when I change the 'Add New' to start a process 'NewTruck' instead it cancels the active 'NewDocket' process which disappears and starts the 'NewTruck' process.
How come the default implementation works fine and not the processes.
Thank you for any suggestions.
Regards |
|
| Back to top |
|
 |
jacklcs
Joined: 31 Dec 2010 Posts: 337
|
Posted: Fri Jun 01, 2012 5:05 am Post subject: |
|
|
You need to get the BO Truck ID push to BO Delivery Docket..
In the BO Docket... MyTruckID = Truck on the process after the Enter New.
On the BO Truck, click the Auto Refresh, select the process over from left to right. it will refresh the grid on the Truck BO to show the records being added on the BO Delivery Docket.
Hope it help.. |
|
| Back to top |
|
 |
Rennur
Joined: 01 Mar 2012 Posts: 191 Location: Sydney, Australia
|
Posted: Fri Jun 01, 2012 5:47 am Post subject: |
|
|
Thanks for the reply, however I'am struggling to understand your suggestion.
| Quote: | | You need to get the BO Truck ID push to BO Delivery Docket.. |
What do you mean by 'Push'?
| Quote: | | In the BO Docket... MyTruckID = Truck on the process after the Enter New. |
My process rule looks like:
1. ENTER NEW Truck WITH Truck.DeliveryDocket=DeliveryDocket
2. INSERT Truck IN DeliveryDocket.Truck
| Quote: | | On the BO Truck, click the Auto Refresh, select the process over from left to right. it will refresh the grid on the Truck BO to show the records being added on the BO Delivery Docket. |
I have added the refresh
Will your suggestion solve the problem of dissapearing 'NewDocket' process pop-iup form?
Regards |
|
| Back to top |
|
 |
Rennur
Joined: 01 Mar 2012 Posts: 191 Location: Sydney, Australia
|
Posted: Sun Jun 03, 2012 6:54 am Post subject: |
|
|
Default implementation of 'Add New' does not allow you to select what form to use for 'Creation', hence the use of the process for 'Add New' instead.
So, when I start a new 'New Docket' process it opens a form with one of the attributes being 'Truck' (as a dropdown) selection with a Add New button next to it as explained before.
Now, the process New Docket is running, if I click on the 'Add New' which is set up as 'Run Process' 'New Truck' it closes the current active process New Docket and starts the 'New Truck' process.
What I need happen is that the 'New Truck' opens separately in a pop-up (the same as the default implementation does) and once I create it, the New Docket to automatically pick it up (the same way default implem. does)
Maybe Aware support can confirm if that is possible or is simply a bug.
Regards |
|
| Back to top |
|
 |
aware_support
Joined: 24 Apr 2005 Posts: 4671
|
Posted: Mon Jun 04, 2012 12:18 am Post subject: |
|
|
In Aware IM you cannot start a process while inside an existing process. The standard implementation of Add New will work because it does not start a process, but the custom implementation will not work if you already have some process running. This is a limitation.
So you need to either create a truck without a process or use the standard Add New _________________ Aware IM Support Team |
|
| Back to top |
|
 |
|