Skip to main content
Solved

Objstate not Sync from IFS MWO to Cloud

  • September 8, 2025
  • 1 reply
  • 31 views

asanka1055
Hero (Partner)
Forum|alt.badge.img+9

Hi,

I am working on a IFS MWO Mobile Development (Customization). I have enabled state machine in one of my newly introduced entity (Planned, Released, Completed, Cancelled). 

I have added relevant code changes to the .client and .projection and already defined Sync policies on .app file. Now I am facing an issue when changing status from MWO it’s locally changing but not Syncing to the IFS Cloud. All other fields working as expected but ‘Objstate’ doesn’t change.

.offline file
 

MWO
 

 

IFS Cloud
 

 

I cannot see any failed transaction on the mobile as well.

Any idea will be really appreciated.

 

Thanks & Regards,
Asanka.

Best answer by asanka1055

I was able to identify the issue. It was due to missing ‘performAction’ keyword after the super call in the action. After adding that I was able to overcome the issue.

 

@Override
procedure Action<CPartOrder.SetReleased> {
   execute {
      super(Record);
      performAction;
      set Record.Objstate = "Released";
      saveLocal Record;
   }
}

 

1 reply

asanka1055
Hero (Partner)
Forum|alt.badge.img+9
  • Author
  • Hero (Partner)
  • Answer
  • September 9, 2025

I was able to identify the issue. It was due to missing ‘performAction’ keyword after the super call in the action. After adding that I was able to overcome the issue.

 

@Override
procedure Action<CPartOrder.SetReleased> {
   execute {
      super(Record);
      performAction;
      set Record.Objstate = "Released";
      saveLocal Record;
   }
}