Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error importing a workflow process

Hi,
Currently, I'm working with MDM EE.
I'm playing with the MDM demo sample.
I've imported the 'product_product--1.0.bar' worflow process in the worflow perspective.
When I try to export the process to the MDM server, I have the following message :

Error importing a workflow process : java.net.UnknowHostException: local

Can you, please, help me in fixing this issue ?
Thank you in advance for any response !

Labels (2)
19 Replies
Anonymous
Not applicable
Author

Hi Cyril,
Yes, I have created the user 'approver' and assigned him the proper roles (as mentionned in the demo).
As user/user, I run the process -> message "Process done"
According to the demo steps :
?The Welcome page should now display a pending task, this is the initial step of the workflow where you enter the new price
Unfortunately, I have no pending task.
Nevertheless, I have also run the process as approver/approver : no pending task again.
So, I think the problem coming from the workflow itself.
But I can't find out the solution ... 🙂
Thanks a lot for your help.
Anonymous
Not applicable
Author

In the studio, use the MDM perspective. In the MDM repository, there's a "Workflow" family, where you should see the workflow you imported.
If so, can you open it, to see if there are active instances ?
Cyril.
Anonymous
Not applicable
Author

Hi Cyril,
I see active instances.
Process Instance List :
- Process : Product_Product
- Status : started
Process Tasks
- Task : Product_Product--1.0--1--DemandeNouveauPrix--it1--mainActivityInstance
- Status : ready
- Candidates : approver,user
Thank you for your help.
Anonymous
Not applicable
Author

Cyril,
For futher information, please find below the server log :
21:39:15,374 INFO Exec: ItemsBrowserInterface.getRunnableProce
ssList()
21:39:15,421 INFO MDM set up with Product and Product
21:39:18,703 INFO Exec: ItemsBrowserInterface.getProperty()
21:39:18,890 ERROR Missing : in conversion data (231035933)
21:39:18,890 INFO Exec: ItemsBrowserInterface.processItem()
21:39:18,890 INFO Creating update-report for Product.23103593
3's action.
21:39:18,906 INFO Executing transformer for Product.231035933
's action.
21:39:19,078 INFO InitialContextFactory: nul
l
21:39:19,078 INFO ProviderURL: null
21:39:19,078 INFO ApiType: EJB2
21:39:24,265 INFO Started a new Process Instance: Product_Product--1.0
--1
21:39:24,374 INFO Init Process Variables: {Product_Family=null, mdm_po
rt=8080, newXPath_xpath=newXPath, Product_Family_xpath=null, mdm_host=169.254.25
.129, Product_Description_xpath=null, mDM_dataModel=Product, mDM_port=8080, newX
Path=, product_Id_xpath=Product/Id, MDM_universe=, Product_Id_xpath=Product/Id,
MDM_dataModel=Product, Product_Price_xpath=null, mDM_host=169.254.25.129, mDM_un
iverse=, Product_Name_xpath=null, MDM_dataCluster=Product, MDM_host=169.254.25.1
29, mdm_datacluster=Product, mdm_datamodel=Product, product_Id=231035933, Produc
t_Price=null, Product_Name=null, MDM_port=8080, Product_Id=231035933, Product_De
scription=null, mdm_universe=, mDM_dataCluster=Product}
21:39:24,374 INFO Saving update-report for Product.231035933'
s action.
21:39:24,499 INFO OpIsCreate && ModelIsProduct &&
ConceptIsProduct : false
21:39:24,515 INFO OpIsCreate && ContainerIsProduct
&& ModelIsProduct && EntityIsProduct : false
21:39:24,531 INFO OpIsUpdate && ContainerIsProduct
&& ModelIsProduct && EntityIsProduct : false
21:39:24,546 INFO OpIsCreate && ContainerIsProduct
&& ModelIsProduct && EntityIsProduct : false
21:39:24,546 ERROR Unable to find a routing rule fo
r document UpdateReport.Update.genericUI.1302032358890
21:39:24,765 INFO Exec: ItemsBrowserInterface.setTree()
21:39:24,765 INFO Exec: ItemsBrowserInterface.getViewables()
21:39:25,171 INFO Exec: ItemsBrowserInterface.getChildren()
21:39:31,687 INFO Exec: LayoutInterface.getMenus()
21:39:31,734 INFO Exec: ActionsInterface.getCluster()
21:39:31,734 INFO Exec: ActionsInterface.getModel()
21:39:31,734 INFO Exec: LayoutInterface.getUsernameAndUniverse
()
21:39:31,765 INFO Exec: WelcomeInterface.isHiddenLicense()
21:39:32,093 INFO Exec: WelcomeInterface.isHiddenTask()
21:39:32,499 INFO Exec: WelcomeInterface.getLicenseMsg()
21:39:32,499 INFO Exec: WelcomeInterface.getTaskMsg()
21:39:32,499 ERROR Apr 5, 2011 9:39:32 PM org.ow2.bonita.util.AccessorU
til resetContext
Thanks
VAD
Anonymous
Not applicable
Author

Hi VAD,
Can you show your user list, with their relative roles ?
Regards,
Cyril.
Anonymous
Not applicable
Author

Hi Cyril,
The user list with their relative roles :
administrator : System_admin
user : System_web, Demo_user
approver : System_web, Demo_user
Regards,
VAD
Anonymous
Not applicable
Author

Did you repect the case when you typed the role name ? The rolename is Demo_User.
Beware of the first caps for Demo and User; there must be a perfect matching between configuration & workflow.
Enclosed is a screenshot with the required rolename.
Regards,
Cyril
Anonymous
Not applicable
Author

Hi Cyril,
I didn't type the role name : this role is created when you import the product demo and the role name is correct.
Nevertheless, I found out the solution. You have to give to 'Demo_User' role the read-only permission on 'Workflow tasks' (object type : menu).
Once done, the tasks are available in Web UI for user/user and approver/approver.
But, I still have an issue : the price isn't updated.
Steps :
- User requests a new price
- Approver approves the new price
- Once approved, the price should be updated.
In my case, the last step doesn't work. When I browse my record, after the request and approval steps, I don't see any updates.
Any ideas ?
Thanks a lot for your help.
Regards,
VAD
Anonymous
Not applicable
Author

Well done VAD... Indeed, there can be many reasons why your workflow isn't well parametered, I didn't spot that one.
For the other problem, has an Update Record been generated after the approval ?
Regards,
Cyril.
Anonymous
Not applicable
Author

I don't think so ...
No UPDATE operation in the journal (Web UI)
In the studio, for the workflow, the process instance is finished. For this process, I've only two tasks :
- Product_Product--1.0--1--DemandeNouveauPrix--it1--mainActivityInstance
- Product_Product--1.0--1--ApprouvePrix--it1--mainActivityInstance
These tasks match the two first steps of the workflow.
Both are finished.
Should I have a 'Update record' task ?
Thanks for your help,
VAD