Skip to main content

Posts

Showing posts with the label Life Cycle

Trigger Sequence of Versioning Events in Aras Innovator

There are two actions can handle versionable Item modification: edit: when ItemType's versioning discipline is "Automatic", system will create new version Item when updating. version: create new version Item. Basically, edit action will lock, update, unlock an Item. Therefore, relevant ItemType Server Events include: OnBeforeLock OnAfterLock OnBeforeUpdate OnAfterUpdate OnBeforeUnlock OnAfterUnlock As for version action, mainly triggering below events: OnBeforeVersion OnAfterVersion Edit Action If versioning discipline is automatic, system will execute version action in background. That makes the process is a little complex, trigger sequence of relevant events is shown as Figure 1. Figure 1. Trigger sequence of edit action. Please note, all update and version events will not be triggered when "OnUpdate" event exists (due to this will overwrite original system process). Version Action This action mainly use for manually creating a ne...

Trigger Sequence of Promotion Events in Aras Innovator

There are several Server Event could trigger Method during item promotion: ItemType: OnBeforePromote, OnAfterPromote; Life Cycle: Transition Pre, Transition Post. Trigger sequence of above events is shown in below figure: It's important to note that "Transition Post" cannot rollback while exception throws because item promotion is finished after "OnAfterPromote" That means even if throwing exception, the life cycle will still stay at promoted state. Please note, all above events will not be triggered when "OnPromote" event exists (due to this will overwrite original system process).

Fix Blank Message of Promotion Error in Aras Innovator While Using IE 11

Blank message may show up like below picture when server throw an error at life cycle promotion. (Not sure which version has this bug and when being fixed.) Solution: Open the file "\Innovator\Client\scripts\promoteDialog.html" on server. Find the function "closeWindow". Modify as below: function closeWindow(value) { if (dialogArguments.dialog) { setTimeout(function () { dialogArguments.dialog.close(value); }, 100); } else { window.returnVal ue = value; window.close(); } } Open the file "\Innovator\Client\web.config". Increase the attribute "filesRevision" value of tag "cachingmodule". <cachingModule moduleEnabled="true" filesRevision="2" /> References: Return error at LifeCycle Transition Pre Server method - Aras Open PLM Community