133
Points
Questions
2
Answers
17
-
Hi Sabarish,
We have a PRE event set up with the following. I think it could also be a POST if you aren’t trying to error anything. Should be able to get details from the IFileEventInfo object
IFileEventInfo fEvent = (IFileEventInfo) event;
IEventDirtyFile[] files = fEvent.getFiles();
String fileName = new String();
for (IEventDirtyFile edf : files) {
fileName += edf.getFilename();
}
- 1090 views
- 1 answers
- 0 votes
-
Hi AJ,
I’ve had the best luck mapping the dashboard to a Saved Search and using the out of the box “Workflow Routings”. There should be one called “Changes that require my approval” which should capture any pending approval. There is also another one called “Changes that require my acknowledgment”. I believe the “Workflow Routings” upper tab (beside the dashboard tab) is driven off these non-editable searches. Access to the “Workflow Routings” searches is controlled via each user’s profile “Searches” attribute.
Would that work?
dmcdonald01
- 1614 views
- 2 answers
- 0 votes
-
If you’re subscriber is set up as a “Pre” event, you cannot fetch the item this way as it doesn’t exist yet. If you need to be a pre-event, you wuld have to use the dirty cells to fetch the create new attributes.
Otherwise, you should be able to use the method you have with a “post” subscriber.
This answer accepted by fkorei. on March 25, 2020 Earned 15 points.
- 1543 views
- 1 answers
- 0 votes
-
How is your event subscriber set up? I believe it would need to be set up as a “Pre” Trigger Type event and Error Handling Rule should be set to stop. Any exception that occurs from the PX will stop the Save-As from happening. Throw the string you want to present the user as an AgileDSLException
Example: throw new AgileDSLException(“You Cannot perform a SAve-As….”)
- 1298 views
- 3 answers
- 0 votes
-
Hi Gunni,
I think you need to change your params map to
params.put(ManufacturerPartConstants.ATT_GENERAL_INFO_MANUFACTURER_PART_NUMBER,
"942339395101"); params.put(ManufacturerPartConstants.ATT_GENERAL_INFO_MANUFACTURER_NAME,
"asd");as the row needs to related to the MPN (ManufacturerPartConstants not ItemConstants) Not sure if you can update the “Preferred Status” within the same params during the createRow, or if you have to update it after the row has been created. Either way, the “Preferred Status” would remain an “ItemConstant” variable.
- 1667 views
- 2 answers
- 0 votes
-
- 1497 views
- 2 answers
- 0 votes
-
- 1382 views
- 1 answers
- 0 votes