The above did not work for me
Changed:
$value_activity = get_field( “activity” );
to:
$field = $_POST[‘acf’][‘activity’];
Still did not get the field value and not sure I can change to my_acf_save_post( $post_id ) as I need to know if it is a new created post or if the post is updated.