Using History Widget

307 views
Skip to first unread message

Alan

unread,
May 7, 2015, 3:57:32 AM5/7/15
to suppor...@runmyprocess.com
Hi,

I'm trying to use history widget for input comment and review application history.

Please check these case.

1. Hide comment text area
- There are some cases whether comment text area need or not.
- I can't find history widget methods hiding text area.
- Is it possible to hide text area?

2. history widget in custom widget
- I put history widget in custom widget
- in this case, it doesn't work to inactive. in case process completed, in case historywidget.setActive(false), historywidget.setEnabled(false), these cases are same.
- how to inactive history widget?

3. history widget column name
- I changed in history widget column name to other title.
- But it doesn't work in WI. default column title shows in history widget.
- any resolution way?

Regards,

Mariem Mouakhar

unread,
May 7, 2015, 4:37:20 AM5/7/15
to suppor...@runmyprocess.com
Hi,

1. To hide the comment text area you can uncheck the the check box "allow comments".
Images intégrées 1

2. If you wish to put a history widget in a custom widget, to inactive history widget you have to use "id_customwidget.id_historywidget.setActive(false)".

3.  history widget column name: you can't change the name of the actual column, but you can add others.


Regards,


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/1572b1cc-55a3-4338-b50e-6ab15af1db3b%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Mariem Mouakhar,
Customer Solution Engineer

Message has been deleted

al...@wedosoft.net

unread,
May 7, 2015, 4:56:33 AM5/7/15
to suppor...@runmyprocess.com
2015년 5월 7일 목요일 오후 5시 37분 20초 UTC+9, Mariem 님의 말:
> Hi,
>
>
> 1. To hide the comment text area you can uncheck the the check box "allow comments".
>
>
>
>
Hi Mariem,

Thanks for your reply. I said comment area need or not according to status.

1.
I knew "Allow Comment" option. If I want to allow comment in launch screen and don't want to allow comment in validation screen, how to do? I was looking javascript method like allow this action instead of widget option.

2. It doesn't work. What is the mean active/inactive in history widget? comment text area is enabled or not? If then, setActive method doens't work. If I got fault, please let me know.

3.
If then, why name column can eidt? I understand that default column title(Name, User, Date) can't change and additonal column title is able to change. right?

Regards,

al...@wedosoft.net

unread,
May 14, 2015, 5:46:56 AM5/14/15
to suppor...@runmyprocess.com, al...@wedosoft.net
2015년 5월 7일 목요일 오후 5시 56분 33초 UTC+9, al...@wedosoft.net 님의 말:
Could anyone care question about no.1, no. 2?

Regards,

Pankaj Kumar

unread,
May 16, 2015, 4:18:49 AM5/16/15
to suppor...@runmyprocess.com, Alan Lee
Hi Alan,

RMP do not have any direct methods to show/hide History Comment widget on some particular screen.

Though you can try JQuery for this.

History Comment widget uses "gwt-TextArea" and Test Console JS Tester (comes in Web Interface in Test Mode). If in your WI, if this is the only control that uses this class, by JQuery you can implement your requirement.


$(".gwt-TextArea" ).hide() method to hide the widget and

By "document.URL", you will get the URL of the WI, url format is:-


State/1:- here after state, values like 1,2,3 comes according to the screen created in Web Interface.

You can break the url string to get the value after "state", to determine which state is currently the WI is, and can show/hide the widget.

If the above solution works then you can make the Active/Inactive the comment in similar way.

Thanks,
Pankaj


Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

al...@wedosoft.net

unread,
May 16, 2015, 8:45:09 PM5/16/15
to suppor...@runmyprocess.com, al...@wedosoft.net
2015년 5월 16일 토요일 오후 5시 18분 49초 UTC+9, Pankaj Kumar 님의 말:
Hi Pankaj,

Thanks a lot. I'll try this way. I didn't think using jquery.

Thanks again.

Regards,
Alan.

al...@wedosoft.net

unread,
May 16, 2015, 8:59:53 PM5/16/15
to suppor...@runmyprocess.com, al...@wedosoft.net
2015년 5월 17일 일요일 오전 9시 45분 9초 UTC+9, al...@wedosoft.net 님의 말:
Hi Pankaj,

I've got one more question.

I'm trying to use history widget in custom widget.
custom widget id: id_dialog
history widget id : id_revisions

To get comment history, I used getCompleteHistory method.

var temp = id_dialog.id_revisions.getCompleteHistory();

for (i=0;i<temp.length;i++) {
window.console.log(temp[i].comment);
}

Attached file is sample history widget. In this case, temp[0] returns null. temp[1~3] is ok.

I wonder the reason why getCompleateHistory method doesn't return [0] point.

Could you check this?

If I got missing, please let me know.


Regards,
Alan.

20150517-09-40-28.jpg

Pankaj Kumar

unread,
May 17, 2015, 12:24:44 PM5/17/15
to suppor...@runmyprocess.com, Alan Lee
Hi Alan,

We checked the "getCompleteHistory" methid of the history widget, in 0 index, getting the null value rather then the previous activity detail. We forward our finding on this to the product team, will update you soon on the same.

Thanks,
Pankaj Kumar
Fujitsu RunMyProcess Support

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

Murali

unread,
May 20, 2015, 10:38:53 PM5/20/15
to suppor...@runmyprocess.com, pku...@runmyprocess.com, al...@wedosoft.net
Hi Alan,

This has been considered as a bug in the system and will be fixed in upcoming release.

Thanks for reporting to us on this issue.

Regards,
Murali
Reply all
Reply to author
Forward
0 new messages