public String getWorkflowIdentity() {
    RestartConfig.RestartNode node = getCurrentNode(restartConfig);
    return "[" + node.getWorkflowId() + "][" + node.getInstanceId() + "]";
  }
@Test
  public void testGetWorkflowIdentity() {
    RestartConfig config = RestartConfig.builder().addRestartNode("foo", 1, "bar").build();
    RunRequest runRequest =
        RunRequest.builder()
            .initiator(new ManualInitiator())
            .currentPolicy(RunPolicy.RESTART_FROM_INCOMPLETE)
            .restartConfig(config)
            .build();
    Assert.assertEquals("[foo][1]", runRequest.getWorkflowIdentity());
    Assert.assertEquals("bar", runRequest.getRestartStepId());
  }