use the ordinal step number instead of the step tab if the transition is to a non-numbered step
This commit is contained in:
parent
0c23b73383
commit
754d4a8651
@ -129,6 +129,15 @@ namespace DataLoader
|
||||
c.Save();
|
||||
}
|
||||
}
|
||||
if (item.NewTransToUnNumberedItem)
|
||||
{
|
||||
using (Item itm = item.Get())
|
||||
{
|
||||
ItemAnnotation ia = itm.ItemAnnotations.Add(VerificationRequiredType);
|
||||
ia.SearchText = "Transition to un-numbered step";
|
||||
itm.Save();
|
||||
}
|
||||
}
|
||||
if (checkRTF)
|
||||
{
|
||||
MyStepRTB.MyItemInfo = item;
|
||||
@ -159,6 +168,17 @@ namespace DataLoader
|
||||
Status = "Done comparing";
|
||||
|
||||
}
|
||||
private AnnotationType _VerificationRequiredType; // Using this to flag table to grid conversions
|
||||
|
||||
public AnnotationType VerificationRequiredType
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_VerificationRequiredType == null)
|
||||
_VerificationRequiredType = AnnotationType.GetByName("Verification Required");
|
||||
return _VerificationRequiredType;
|
||||
}
|
||||
}
|
||||
public string FixTransitionText(string Text, TransitionInfo tran)
|
||||
{
|
||||
string lookFor = string.Format(@"<START\]\\v0 ([^#]*?)\\v #Link:Transition[^:]*?:{0} {1}( [0-9]*){2}\[END>", tran.TranType, tran.TransitionID, "{1,2}");
|
||||
|
Loading…
x
Reference in New Issue
Block a user