123
Points
Questions
32
Answers
52
-
Hi Hi Tal Kobrowski,
I am able to add and remove Dummy approver, Partially its working.
Pending
Submit
Reviewer1 AutoPromote No
Reviewer2 AutoPromote Yes
Reviewer3 AutoPromote Yes
Reviewer4 AutoPromote No
Reviewer5 AutoPromote Yes
Reviewer6 AutoPromote No
Release AutoPromote No
Till Reviewer3 its working fine, From Reviewer4 auto promote “No” but still it is Autopromoting.Do you have any clue why it is auto-promote. Let me know something I am missing in the code
- 2551 views
- 6 answers
- 0 votes
-
- 1852 views
- 2 answers
- 0 votes
-
Hi Tal Kobrowski,
adding to my last note i have many reviewers(6) but for eg i said only 3 reviewers.
On which status I have to remove dummy approver. I am adding the appover to Next status
CSP (in WF admin) a dummy approver is attaching when moving to the reviewer status.for eg:
If the status is moving from Pending to submit add approvers to Reviewer1 ( this works fine No adding dummy approver required)
If the status is moving from Submit to reviewer1 add approvers to Reviewer2 ( this works fine No adding dummy approver required)
If the status is moving from Reviewer1 to reviewer2 add approvers to Reviewer3 ( Here it will attach only Dummy User not the Dynamic users from Code)I am using event “Change status for workflow”
Without Autopromote to any of the review status work fine. and if Auto promote Yes then change.getDefaultNextStatus() throws null.
—————————————————
Hi dannypitt,
Here approvers I have to pick Dynamically from the Page 3 List attributes. So I can’t attach the attributes to the Status Criteria.
- 2551 views
- 6 answers
- 0 votes
-
Hi Antonio,
I appreciate your feedback,
But frequently( in every 10 days) jar files will be deleted automatically from sdk cache (java.io.tmpdir)
and if you check in the JavaClient PX or Event Action class will be missing and code will not trigger.
Currently, if I found jar is missing in the cache directory restarting the application.
Instead of restarting application shall i delete “/sdk.extensions.libs” from /tmp whether it will create fresh cache directory?
- When PX is invoked for the first time and no such jar in sdk.extensions.libs folder
No Issue works fine - When the timestamp of same Jar in sdk.extensions is newer than the one in sdk.extensions.libs and PX executes again
No Issue works fine - When PX is setup in JavaClient for the first time
No Issue works fine
- 4015 views
- 11 answers
- 0 votes
- When PX is invoked for the first time and no such jar in sdk.extensions.libs folder
-
Server API Properties attached.
Additionally, When exactly the FileNotFound exception is generated?
Yesterday on 12-01-2016 it is generated.
java.io.FileNotFoundException: /tmp/sdk.extensions.libs/ecSolutionPack5479565172488201938.jar (No such file or directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
at java.util.jar.JarFile.<init>(JarFile.java:153)
at java.util.jar.JarFile.<init>(JarFile.java:90)
at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)
at java.net.URL.openStream(URL.java:1037)
at com.agile.px.Extensions2.discoverNames(Extensions2.java:458)
at com.agile.px.Extensions2.discoverExtensions(Extensions2.java:118)
at com.agile.px.PxSessionBean.discoverExtensionNames(PxSessionBean.java:75)
at com.agile.px.com_agile_px_PxSession_l8vd22_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:32)
at com.agile.px.com_agile_px_PxSession_l8vd22_EOImpl.discoverExtensionNames(Unknown Source)
at com.agile.px.com_agile_px_PxSession_l8vd22_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:695)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:520)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:516)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)- 4015 views
- 11 answers
- 0 votes
-
- 4015 views
- 11 answers
- 0 votes
-
- 4015 views
- 11 answers
- 0 votes
-
To give you more detail.
Status
Pending Submit Reviewer1 Reviewer2 Reviewer3 Release
Here on all the above reviewer is AutoPromote “Yes”.
and for all the Reviewer I have to add approver’s dynamically using code.
Here Dynamic means i am selecting users from the Page three attribute and add to the next status. So when user clicks on the Reviewer/ Next Status the Approvers will be displayed dynamically.Status moving from Pending to Submit I am adding approvers to next status( Reviewer1 )
Status moving from Submit to Reviewer1 I am adding approvers to next status( Reviewer2 )
Status moving from Reviewer1 to Reviewer2 I am adding approvers to next status( Reviewer3)Without Autopromote this works fine.
- 2551 views
- 6 answers
- 0 votes
-
- 4015 views
- 11 answers
- 0 votes
-
Thanks for your suggestions,
Antonio La Gamma, I thought the same way using web service by passing credentials is one way.
Adrian Kendall, I agree with you on logging(it’s required)
but my question is one way is web service (hard code the login information) and user need not required to keeing in password.
is there any other way(Other than web service) we can download files without user and password (by hard coding uname and pwd)
- 1804 views
- 6 answers
- 0 votes